3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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:
Simon Tournier 2023-10-16 17:53:21 +02:00
parent f7c274c403
commit 79b6eef750
No known key found for this signature in database
GPG key ID: 92F1D22C608EE7E5

View file

@ -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"))