mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-18 07:05:53 +02:00
scripts: container: Handle EPIPE errors when displaying help.
* guix/scripts/container.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user