unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49482] [PATCH 1/3] substitute: Fix handling of short option "-h".
@ 2021-07-09  8:38 Hartmut Goebel
  2021-07-09  8:38 ` [bug#49483] [PATCH 2/3] substitutes: Properly construct URLs Hartmut Goebel
  2021-07-09  8:38 ` [bug#49482] [PATCH 3/3] ci: " Hartmut Goebel
  0 siblings, 2 replies; 4+ messages in thread
From: Hartmut Goebel @ 2021-07-09  8:38 UTC (permalink / raw)
  To: 44906, 49482

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 03115ffe44..c044e1d47a 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))))))
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-15  7:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09  8:38 [bug#49482] [PATCH 1/3] substitute: Fix handling of short option "-h" Hartmut Goebel
2021-07-09  8:38 ` [bug#49483] [PATCH 2/3] substitutes: Properly construct URLs Hartmut Goebel
2021-07-09  8:38 ` [bug#49482] [PATCH 3/3] ci: " Hartmut Goebel
2021-07-15  7:35   ` Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).