diff --git a/README.md b/README.md index 42d780b..982f340 100644 --- a/README.md +++ b/README.md @@ -32,25 +32,7 @@ to your system. You would have to run the rebuild script: This runs the script interactively. -You can also check how the script is used: - -```sh -./rebuild.nu --help -``` - -This outputs: - -``` -Usage: - > rebuild.nu (host) ...(arguments) - -Flags: - -h, --help - Display the help message for this command - -Parameters: - host : The host to build. (optional, default: '') - ...arguments : The arguments to pass to `nix system apply`. -``` +You can also check how the script is used by reading the parameters it takes. ## License diff --git a/rebuild.nu b/rebuild.nu index 4bcc197..eb68896 100755 --- a/rebuild.nu +++ b/rebuild.nu @@ -6,7 +6,7 @@ def complete [] { def main --wrapped [ host: string@complete = "" # The host to build. - ...arguments # The arguments to pass to `nix system apply`. + ...arguments # The arguments to pass to `nixos-rebuild switch`. ] { let flags = [ $"--flake ('.#' + $host)"