aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-05-08 19:16:19 +0200
committerTeddy Wing2022-05-08 19:16:19 +0200
commit7c5363d3827b8f53a4f0196989c22f0606b3f2db (patch)
tree5ba916a50162ec000a3b785385dad3dcb1d14365
parent4d505d1a684a34af9887d25ed46101cde2622050 (diff)
downloadwajir-7c5363d3827b8f53a4f0196989c22f0606b3f2db.tar.bz2
option.lisp: Make string options take an argument
These options were defined incorrectly as flags, and didn't take arguments.
-rw-r--r--src/option.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/option.lisp b/src/option.lisp
index a37779c..5a1444c 100644
--- a/src/option.lisp
+++ b/src/option.lisp
@@ -14,15 +14,18 @@
(:name :endpoint
:description "Jira site URL host (e.g. example.atlassian.net)"
:long "endpoint"
+ :arg-parser #'identity
:meta-var "<endpoint>")
(:name :sendmail
:description "send email command"
:long "sendmail"
+ :arg-parser #'identity
:meta-var "<command>")
(:name :email-to
:description "recipient email address"
:long "email-to"
+ :arg-parser #'identity
:meta-var "<address>")
(:name :verbose