mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
scripts: remove: Handle EPIPE errors when displaying help.
* guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
ac9b2939d6
commit
028de130d2
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ (define %options
|
||||||
;; Specification of the command-line options.
|
;; Specification of the command-line options.
|
||||||
(cons* (option '(#\h "help") #f #f
|
(cons* (option '(#\h "help") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
(show-help)
|
(leave-on-EPIPE (show-help))
|
||||||
(exit 0)))
|
(exit 0)))
|
||||||
(option '(#\V "version") #f #f
|
(option '(#\V "version") #f #f
|
||||||
(lambda args
|
(lambda args
|
||||||
|
|
Loading…
Reference in a new issue