From 309495654c951a982aa7c052aa48798a7d9af4ce Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 8 Nov 2023 08:39:40 +0300 Subject: [PATCH] Update readme and help message --- README.md | 4 ++-- rebuild.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e12ad6..f601f44 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ git clone https://github.com/RGBCube/NixOSConfiguration cd NixOSConfiguration chmod +x rebuild.sh -./rebuild.sh --clean-garbage +./rebuild.sh ``` `machine-name` is a machine selected from the machines in the `machines` directory. @@ -41,7 +41,7 @@ You can also check how the script is used: This outputs: ``` -Usage: ./rebuild.sh [-h | --help] [-c | --clean-garbage] [machine] +Usage: ./rebuild.sh [-h | --help] [machine-name] ``` ## License diff --git a/rebuild.sh b/rebuild.sh index cbfa71a..9110e1f 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -1,7 +1,7 @@ #!/bin/sh if [[ $1 == "-h" || $1 == "--help" ]]; then - echo "Usage: $0 [-h | --help] [machine]" + echo "Usage: $0 [-h | --help] [machine-name]" exit fi