mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
scripts: import: Handle EPIPE errors when displaying help.
* guix/scripts/import.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
f7c274c403
commit
79b6eef750
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ (define-command (guix-import . args)
|
|||
(format (current-error-port)
|
||||
(G_ "guix import: missing importer name~%")))
|
||||
((or ("-h") ("--help"))
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0))
|
||||
((or ("-V") ("--version"))
|
||||
(show-version-and-exit "guix import"))
|
||||
|
|
Loading…
Reference in a new issue