me
/
guix
Archived
1
0
Fork 0

scripts: home: Support dry-run.

* guix/scripts/home.scm (%options): Add option for dry-run.
master
Efraim Flashner 2021-09-30 16:50:52 +03:00
parent 5333d2cac6
commit 6a544b2130
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ Some ACTIONS support additional ARGS.\n"))
(lambda args (lambda args
(show-help) (show-help)
(exit 0))) (exit 0)))
(option '(#\n "dry-run") #f #f
(lambda (opt name arg result)
(alist-cons 'dry-run? #t result)))
(option '(#\V "version") #f #f (option '(#\V "version") #f #f
(lambda args (lambda args
(show-version-and-exit "guix show"))) (show-version-and-exit "guix show")))