guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: substitute: Fix handling of short option "-h".


From: guix-commits
Subject: 01/03: substitute: Fix handling of short option "-h".
Date: Fri, 16 Jul 2021 13:49:35 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit f3b20baa4d1375d053bcadd9b804f52556142656
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Wed Jul 7 22:58:45 2021 +0200

    substitute: Fix handling of short option "-h".
    
    The short option was listed in the help-text, but not recognized.
---
 guix/scripts/substitute.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 03115ff..c044e1d 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -777,7 +777,7 @@ default value."
                (loop))))))
        ((or ("-V") ("--version"))
         (show-version-and-exit "guix substitute"))
-       (("--help")
+       ((or ("-h") ("--help"))
         (show-help))
        (opts
         (leave (G_ "~a: unrecognized options~%") opts))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]