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 <[email protected]>
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")))