unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 50915@debbugs.gnu.org
Subject: [bug#50915] [PATCH] scripts: home: Support dry-run.
Date: Thu, 30 Sep 2021 16:53:49 +0300	[thread overview]
Message-ID: <1e1806b74a3ec354658cb91884eb64c5cc88faf3.1633009918.git.efraim@flashner.co.il> (raw)

[-- 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 --]

             reply	other threads:[~2021-09-30 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 13:53 Efraim Flashner [this message]
2021-10-01 17:17 ` [bug#50915] [PATCH] scripts: home: Support dry-run 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e1806b74a3ec354658cb91884eb64c5cc88faf3.1633009918.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=50915@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).