ui: Add -V as short option for --version.

* guix/ui.scm (run-guix): Add -V as the short option for --version for
consistency with most commands.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Kyle Meyer 2018-07-07 00:41:35 -04:00 committed by Ludovic Courtès
parent 7ede577a5f
commit 85c3fbf5de
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org> ;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org> ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch> ;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
;;; Copyright © 2018 Kyle Meyer <kyle@kyleam.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -1598,7 +1599,7 @@ and signal handling has already been set up."
(show-guix-usage)) (show-guix-usage))
((or ("-h") ("--help")) ((or ("-h") ("--help"))
(show-guix-help)) (show-guix-help))
(("--version") ((or ("-V") ("--version"))
(show-version-and-exit "guix")) (show-version-and-exit "guix"))
(((? option? o) args ...) (((? option? o) args ...)
(format (current-error-port) (format (current-error-port)