me
/
guix
Archived
1
0
Fork 0

deploy: Handle "--version".

* guix/scripts/deploy.scm (%options): Add "--version".
master
Ludovic Courtès 2019-11-18 22:59:21 +01:00
parent 6fbd8fde2f
commit 1bdb63e73b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ Perform the deployment specified by FILE.\n"))
(lambda args
(show-help)
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix deploy")))
(option '(#\s "system") #t #f
(lambda (opt name arg result)
(alist-cons 'system arg