aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cpt-list6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpt-list b/src/cpt-list
index 363e22f..58f244e 100755
--- a/src/cpt-list
+++ b/src/cpt-list
@@ -2,10 +2,12 @@
# List installed packages
parser_definition() {
- setup REST help:usage -- "usage: ${0##*/} [-c] [pkg...]"
+ setup REST help:usage -- \
+ "usage: ${0##*/} [-c] [pkg...]" \
+ "or: ${0##*/} -C pkg true-statement false-statement"
msg -- '' 'Options:'
flag CURRENT -c --current -- "Use the current directory as a package"
- param PKG --check label:" --check PKG TRUE FALSE" -- \
+ param PKG -C --check label:" -C,--check PKG TRUE FALSE" -- \
"Check if PKG exists and return the string of TRUE if"\
"it exists, and the string of FALSE if it doesn't." \
"Useful for optional packaging."