[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: scripts: home: Support dry-run.
From: |
guix-commits |
Subject: |
branch master updated: scripts: home: Support dry-run. |
Date: |
Mon, 04 Oct 2021 04:28:56 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 6a544b2 scripts: home: Support dry-run.
6a544b2 is described below
commit 6a544b2130c7b0b2a6f5798b3195f5db90743143
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 30 16:50:52 2021 +0300
scripts: home: Support dry-run.
* guix/scripts/home.scm (%options): Add option for dry-run.
---
guix/scripts/home.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm
index a466f3d..a4d4aaa 100644
--- a/guix/scripts/home.scm
+++ b/guix/scripts/home.scm
@@ -111,6 +111,9 @@ Some ACTIONS support additional ARGS.\n"))
(lambda args
(show-help)
(exit 0)))
+ (option '(#\n "dry-run") #f #f
+ (lambda (opt name arg result)
+ (alist-cons 'dry-run? #t result)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix show")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: scripts: home: Support dry-run.,
guix-commits <=