1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Update readme and help message

This commit is contained in:
RGBCube 2023-11-08 08:39:40 +03:00
parent 5e1684a6c1
commit 309495654c
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ git clone https://github.com/RGBCube/NixOSConfiguration
cd NixOSConfiguration cd NixOSConfiguration
chmod +x rebuild.sh chmod +x rebuild.sh
./rebuild.sh --clean-garbage <machine-name> ./rebuild.sh <machine-name>
``` ```
`machine-name` is a machine selected from the machines in the `machines` directory. `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: This outputs:
``` ```
Usage: ./rebuild.sh [-h | --help] [-c | --clean-garbage] [machine] Usage: ./rebuild.sh [-h | --help] [machine-name]
``` ```
## License ## License

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
if [[ $1 == "-h" || $1 == "--help" ]]; then if [[ $1 == "-h" || $1 == "--help" ]]; then
echo "Usage: $0 [-h | --help] [machine]" echo "Usage: $0 [-h | --help] [machine-name]"
exit exit
fi fi