civodul pushed a commit to branch master
in repository guix.

commit 85c3fbf5de29bf7c08e445bab9b985a7b84b6406
Author: Kyle Meyer <[email protected]>
Date:   Sat Jul 7 00:41:35 2018 -0400

    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 <[email protected]>
---
 guix/ui.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/ui.scm b/guix/ui.scm
index 66c9233..6a5feaa 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2015, 2016 Mathieu Lirzin <[email protected]>
 ;;; Copyright © 2016 Roel Janssen <[email protected]>
 ;;; Copyright © 2016 Benz Schenk <[email protected]>
+;;; Copyright © 2018 Kyle Meyer <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1598,7 +1599,7 @@ and signal handling has already been set up."
      (show-guix-usage))
     ((or ("-h") ("--help"))
      (show-guix-help))
-    (("--version")
+    ((or ("-V") ("--version"))
      (show-version-and-exit "guix"))
     (((? option? o) args ...)
      (format (current-error-port)

Reply via email to