summaryrefslogtreecommitdiff
path: root/shroud
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2015-05-25 21:14:41 -0400
committerDavid Thompson <davet@gnu.org>2015-05-25 21:14:41 -0400
commit1a79efac15b98ae9c097f804e87fd1b056c966e2 (patch)
tree7c09477285b57e30f4915840899c60ebba715def /shroud
parent333a5fd740c02d3bfa962fb8d5141788b93a4946 (diff)
ui: Fix --version option for subcommands.
* shroud/ui/hide.scm (%options): Fix version option name. * shroud/ui/show.scm (%options): Likewise. * shroud/ui/remove.scm (%options): Likewise.
Diffstat (limited to 'shroud')
-rw-r--r--shroud/ui/hide.scm2
-rw-r--r--shroud/ui/remove.scm2
-rw-r--r--shroud/ui/show.scm2
3 files changed, 3 insertions, 3 deletions
diff --git a/shroud/ui/hide.scm b/shroud/ui/hide.scm
index 934abf8..b09d7c2 100644
--- a/shroud/ui/hide.scm
+++ b/shroud/ui/hide.scm
@@ -59,7 +59,7 @@ Add a new secret to the database.~%")
(lambda args
(show-help)
(exit 0)))
- (option '("--version") #f #f
+ (option '("version") #f #f
(lambda args
(show-version-and-exit)))))
diff --git a/shroud/ui/remove.scm b/shroud/ui/remove.scm
index 239618f..eae6e3b 100644
--- a/shroud/ui/remove.scm
+++ b/shroud/ui/remove.scm
@@ -39,7 +39,7 @@ Remove a secret from the database.~%")
(lambda args
(show-help)
(exit 0)))
- (option '("--version") #f #f
+ (option '("version") #f #f
(lambda args
(show-version-and-exit)))))
diff --git a/shroud/ui/show.scm b/shroud/ui/show.scm
index e56d8dd..88d9ccb 100644
--- a/shroud/ui/show.scm
+++ b/shroud/ui/show.scm
@@ -40,7 +40,7 @@ Show secret named ID.~%")
(lambda args
(show-help)
(exit 0)))
- (option '("--version") #f #f
+ (option '("version") #f #f
(lambda args
(show-version-and-exit)))
(option '(#\p "password") #f #f