From 46056634ac5a6d3476111c4ec48efc5665b46848 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 4 Feb 2024 21:06:20 +0300 Subject: [PATCH] Update readme.md docs --- README.md | 20 +------------------- rebuild.nu | 2 +- 2 files changed, 2 insertions(+), 20 deletions(-) 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)"