mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
deploy: Handle "--version".
* guix/scripts/deploy.scm (%options): Add "--version".
This commit is contained in:
parent
6fbd8fde2f
commit
1bdb63e73b
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ (define %options
|
||||||
(lambda args
|
(lambda args
|
||||||
(show-help)
|
(show-help)
|
||||||
(exit 0)))
|
(exit 0)))
|
||||||
|
(option '(#\V "version") #f #f
|
||||||
|
(lambda args
|
||||||
|
(show-version-and-exit "guix deploy")))
|
||||||
|
|
||||||
(option '(#\s "system") #t #f
|
(option '(#\s "system") #t #f
|
||||||
(lambda (opt name arg result)
|
(lambda (opt name arg result)
|
||||||
(alist-cons 'system arg
|
(alist-cons 'system arg
|
||||||
|
|
Loading…
Reference in a new issue