Subject: [bug#32077] [PATCH 2/2] ui: Add -V as short option for --version.

From: Kyle Meyer <[email-masked]>
Date: Sat, 7 Jul 2018 00:41:35 -0400

* guix/ui.scm (run-guix): Add -V as the short option for --version for
consistency with most commands.
---
 guix/ui.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/ui.scm b/guix/ui.scm
index 66c9233b4..6a5feaa95 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2015, 2016 Mathieu Lirzin <[email-masked]>
 ;;; Copyright © 2016 Roel Janssen <[email-masked]>
 ;;; Copyright © 2016 Benz Schenk <[email-masked]>
+;;; Copyright © 2018 Kyle Meyer <[email-masked]>
 ;;;
 ;;; 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)
-- 
2.18.0