diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-09-30 16:50:52 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-10-04 11:26:43 +0300 |
commit | 6a544b2130c7b0b2a6f5798b3195f5db90743143 (patch) | |
tree | bbc280e04b2ad6545e9044be6d8e05ea93475c83 | |
parent | 5333d2cac6c22a296f33716bb27749bbfb3fc369 (diff) | |
download | guix-6a544b2130c7b0b2a6f5798b3195f5db90743143.tar.gz |
scripts: home: Support dry-run.
* guix/scripts/home.scm (%options): Add option for dry-run.
-rw-r--r-- | guix/scripts/home.scm | 3 |
1 files changed, 3 insertions, 0 deletions
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"))) |