scripts: substitute: Handle EPIPE errors when displaying help.
* guix/scripts/substitute.scm (%options): Handle EPIPE errors when displaying help.
parent
6c5516ab83
commit
c4aa37fde9
|
@ -813,7 +813,7 @@ default value."
|
|||
((or ("-V") ("--version"))
|
||||
(show-version-and-exit "guix substitute"))
|
||||
((or ("-h") ("--help") ())
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0))
|
||||
(_ #t))
|
||||
|
||||
|
|
Reference in New Issue