guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/12: ui: Add -V as short option for --version.


From: Ludovic Courtès
Subject: 05/12: ui: Add -V as short option for --version.
Date: Sat, 7 Jul 2018 12:10:47 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 85c3fbf5de29bf7c08e445bab9b985a7b84b6406
Author: Kyle Meyer <address@hidden>
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 <address@hidden>
---
 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 <address@hidden>
 ;;; Copyright © 2016 Roel Janssen <address@hidden>
 ;;; Copyright © 2016 Benz Schenk <address@hidden>
+;;; Copyright © 2018 Kyle Meyer <address@hidden>
 ;;;
 ;;; 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

[Prev in Thread] Current Thread [Next in Thread]