guix-commits
[Top][All Lists]
Advanced

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

02/06: deploy: Handle "--version".


From: guix-commits
Subject: 02/06: deploy: Handle "--version".
Date: Tue, 19 Nov 2019 04:52:03 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 1bdb63e73b73a6b581b65c4018aae587aebfcab4
Author: Ludovic Courtès <address@hidden>
Date:   Mon Nov 18 22:59:21 2019 +0100

    deploy: Handle "--version".
    
    * guix/scripts/deploy.scm (%options): Add "--version".
---
 guix/scripts/deploy.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/guix/scripts/deploy.scm b/guix/scripts/deploy.scm
index f311587..27b7e4f 100644
--- a/guix/scripts/deploy.scm
+++ b/guix/scripts/deploy.scm
@@ -62,6 +62,10 @@ Perform the deployment specified by FILE.\n"))
                  (lambda args
                    (show-help)
                    (exit 0)))
+         (option '(#\V "version") #f #f
+                 (lambda args
+                   (show-version-and-exit "guix deploy")))
+
          (option '(#\s "system") #t #f
                  (lambda (opt name arg result)
                    (alist-cons 'system arg



reply via email to

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