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
@ -78,7 +78,7 @@ Run IMPORTER with ARGS.\n"))
|
||||
(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 New Issue
Block a user