all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50915] [PATCH] scripts: home: Support dry-run.
@ 2021-09-30 13:53 Efraim Flashner
  2021-10-01 17:17 ` Xinglu Chen
       [not found] ` <handler.50915.B.163301006932670.ack@debbugs.gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Efraim Flashner @ 2021-09-30 13:53 UTC (permalink / raw)
  To: 50915

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

* 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 75df6d707d..87529b0c3c 100644
--- a/guix/scripts/home.scm
+++ b/guix/scripts/home.scm
@@ -107,6 +107,9 @@ (define %options
                  (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")))

base-commit: 7b59508ca711d1fe299de3f8d9710da36aeb6829
-- 
2.33.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-04  9:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-30 13:53 [bug#50915] [PATCH] scripts: home: Support dry-run Efraim Flashner
2021-10-01 17:17 ` Xinglu Chen
     [not found] ` <handler.50915.B.163301006932670.ack@debbugs.gnu.org>
2021-10-04  8:27   ` bug#50915: Acknowledgement ([PATCH] scripts: home: Support dry-run.) Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.