From 6a544b2130c7b0b2a6f5798b3195f5db90743143 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 30 Sep 2021 16:50:52 +0300 Subject: 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(+) (limited to 'guix') diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm index a466f3deb1..a4d4aaa562 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"))) -- cgit v1.2.3