mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
scripts: git: Handle EPIPE errors when displaying help.
* guix/scripts/git.scm (%options): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
330540b638
commit
cba0fa6f4f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ Operate on Git repositories.\n"))
|
|||
(format (current-error-port)
|
||||
(G_ "guix git: missing sub-command~%")))
|
||||
((or ("-h") ("--help"))
|
||||
(show-help)
|
||||
(leave-on-EPIPE (show-help))
|
||||
(exit 0))
|
||||
((or ("-V") ("--version"))
|
||||
(show-version-and-exit "guix git"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue