Browse Source

scripts: Remove hyphen in the command name shown by `--version'.

* guix/scripts/build.scm (%options): Remove hyphen from the name passed
  to `show-version-and-exit'.
* guix/scripts/download.scm (%options): Likewise.
* guix/scripts/gc.scm (%options): Likewise.
* guix/scripts/import.scm (%options): Likewise.
* guix/scripts/package.scm (%options): Likewise.
gn-latest-20200428
Ludovic Courtès 9 years ago
parent
commit
fdca1c079b
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      guix/scripts/build.scm
  2. +1
    -1
      guix/scripts/download.scm
  3. +1
    -1
      guix/scripts/gc.scm
  4. +1
    -1
      guix/scripts/import.scm
  5. +1
    -1
      guix/scripts/package.scm

+ 1
- 1
guix/scripts/build.scm View File

@ -105,7 +105,7 @@ Build the given PACKAGE-OR-DERIVATION and return their output paths.\n"))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix-build")))
(show-version-and-exit "guix build")))
(option '(#\S "source") #f #f
(lambda (opt name arg result)


+ 1
- 1
guix/scripts/download.scm View File

@ -104,7 +104,7 @@ and the hash of its contents.\n"))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix-download")))))
(show-version-and-exit "guix download")))))
;;;


+ 1
- 1
guix/scripts/gc.scm View File

@ -97,7 +97,7 @@ interpreted."
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix-gc")))
(show-version-and-exit "guix gc")))
(option '(#\C "collect-garbage") #f #t
(lambda (opt name arg result)


+ 1
- 1
guix/scripts/import.scm View File

@ -85,7 +85,7 @@ Import and convert the Nix expression ATTRIBUTE of NIXPKGS.\n"))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix-import")))))
(show-version-and-exit "guix import")))))
;;;


+ 1
- 1
guix/scripts/package.scm View File

@ -327,7 +327,7 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix-package")))
(show-version-and-exit "guix package")))
(option '(#\i "install") #t #f
(lambda (opt name arg result)


Loading…
Cancel
Save