[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68935] [PATCH v2 6/6] import: Discard args after --version and --he
From: |
Herman Rimm |
Subject: |
[bug#68935] [PATCH v2 6/6] import: Discard args after --version and --help. |
Date: |
Fri, 9 Feb 2024 20:25:18 +0100 |
* guix/scripts/import.scm (guix-import): Discard args.
Change-Id: Icce5cd0daf9011f7ddde7904113b31b547f063ef
---
guix/scripts/import.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm
index 850887e720..3d77d1af55 100644
--- a/guix/scripts/import.scm
+++ b/guix/scripts/import.scm
@@ -108,10 +108,10 @@ (define-command (guix-import . args)
(()
(format (current-error-port)
(G_ "guix import: missing importer name~%")))
- ((or ("-h") ("--help"))
+ ((or ("-h" _ ...) ("--help" _ ...))
(leave-on-EPIPE (show-help))
(exit 0))
- ((or ("-V") ("--version"))
+ ((or ("-V" _ ...) ("--version" _ ...))
(show-version-and-exit "guix import"))
((or ("-i" module importer args ...)
("--insert" module importer args ...))
--
2.41.0
- [bug#68935] [PATCH v2 1/6] doc: Note SVN dependency of texlive importer., (continued)
- [bug#68935] [PATCH v2 1/6] doc: Note SVN dependency of texlive importer., Herman Rimm, 2024/02/09
- [bug#68935] [PATCH v3 0/7] Add insert option to guix import., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 1/7] doc: Note SVN dependency of texlive importer., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 7/7] import: Do not return package name with json importer., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 4/7] utils: Add find-definition-insertion-location procedure., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 3/7] utils: Add insert-expression procedure., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 6/7] import: Discard args after --version and --help., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 5/7] import: Insert packages into modules alphabetically., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 2/7] import: Wrap package expressions with define-public., Herman Rimm, 2024/02/20
- [bug#68935] [PATCH v3 0/7] Add insert option to guix import., Ludovic Courtès, 2024/02/23