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:
parent
5e1684a6c1
commit
309495654c
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue