scripts: container: Handle EPIPE errors when displaying help.
* guix/scripts/container.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
2ac8e95dba
commit
f814d33cbd
@ -57,7 +57,7 @@ Build and manipulate Linux containers.\n"))
|
||||
(format (current-error-port)
|
||||
(G_ "guix container: missing action~%")))
|
||||
((or ("-h") ("--help"))
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0))
|
||||
((or ("-V") ("--version"))
|
||||
(show-version-and-exit "guix container"))
|
||||
|
Loading…
Reference in New Issue
Block a user