mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05: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
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue