[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: scripts: Add missing -V option to commands that document it.
From: |
Ludovic Courtès |
Subject: |
04/12: scripts: Add missing -V option to commands that document it. |
Date: |
Sat, 7 Jul 2018 12:10:46 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7ede577a5f90a459b731eeb025af450ff891603c
Author: Kyle Meyer <address@hidden>
Date: Sat Jul 7 00:41:34 2018 -0400
scripts: Add missing -V option to commands that document it.
* guix/scripts/container.scm (guix-container):
* guix/scripts/import.scm (guix-import):
* guix/scripts/substitute.scm (guix-substitute): Add -V as the short option
for --version to match show-help's description.
Signed-off-by: Ludovic Courtès <address@hidden>
---
guix/scripts/container.scm | 3 ++-
guix/scripts/import.scm | 3 ++-
guix/scripts/substitute.scm | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/guix/scripts/container.scm b/guix/scripts/container.scm
index 10aed2b..8041d64 100644
--- a/guix/scripts/container.scm
+++ b/guix/scripts/container.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 David Thompson <address@hidden>
+;;; Copyright © 2018 Kyle Meyer <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -54,7 +55,7 @@ Build and manipulate Linux containers.\n"))
((or ("-h") ("--help"))
(show-help)
(exit 0))
- (("--version")
+ ((or ("-V") ("--version"))
(show-version-and-exit "guix container"))
((action args ...)
(if (member action %actions)
diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm
index 67bc7a7..f8cb857 100644
--- a/guix/scripts/import.scm
+++ b/guix/scripts/import.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <address@hidden>
;;; Copyright © 2014 David Thompson <address@hidden>
+;;; Copyright © 2018 Kyle Meyer <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -104,7 +105,7 @@ Run IMPORTER with ARGS.\n"))
((or ("-h") ("--help"))
(show-help)
(exit 0))
- (("--version")
+ ((or ("-V") ("--version"))
(show-version-and-exit "guix import"))
((importer args ...)
(if (member importer importers)
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index d0beacc..7634bb3 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès
<address@hidden>
;;; Copyright © 2014 Nikita Karetnikov <address@hidden>
+;;; Copyright © 2018 Kyle Meyer <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1108,7 +1109,7 @@ default value."
(process-substitution store-path destination
#:cache-urls (substitute-urls)
#:acl (current-acl))))
- (("--version")
+ ((or ("-V") ("--version"))
(show-version-and-exit "guix substitute"))
(("--help")
(show-help))
- branch master updated (c2587d3 -> e282611), Ludovic Courtès, 2018/07/07
- 03/12: weather: Fix pasto in --version output., Ludovic Courtès, 2018/07/07
- 06/12: gnu: Electrum: Update to 3.2.2., Ludovic Courtès, 2018/07/07
- 02/12: gnu: Update stellarium to 0.18.1., Ludovic Courtès, 2018/07/07
- 05/12: ui: Add -V as short option for --version., Ludovic Courtès, 2018/07/07
- 01/12: gnu: guile-git: Update to 0.1.0., Ludovic Courtès, 2018/07/07
- 07/12: gnu: emacs-git-timemachine: Update URL., Ludovic Courtès, 2018/07/07
- 11/12: gnu: Add docx2txt., Ludovic Courtès, 2018/07/07
- 04/12: scripts: Add missing -V option to commands that document it.,
Ludovic Courtès <=
- 09/12: gnu: re2c: Update to 1.0.3., Ludovic Courtès, 2018/07/07
- 10/12: gnu: Add emacs-org-brain., Ludovic Courtès, 2018/07/07
- 08/12: gnu: emacs-git-timemachine: Update to 4.5., Ludovic Courtès, 2018/07/07
- 12/12: gnu: Add go-github-com-docker-distribution., Ludovic Courtès, 2018/07/07