diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-24 22:33:12 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-24 22:33:12 +0000 |
commit | 4876585393500bcf93bc5d4f5d802172feabc46b (patch) | |
tree | 574c18172b2a68793fe07c4e8ac519d3c5d5ea48 | |
parent | ecb155b629ace572cbda08f3293353ef67626345 (diff) | |
download | cpt-4876585393500bcf93bc5d4f5d802172feabc46b.tar.gz |
docs: update
FossilOrigin-Name: 68a1146d0b229883de3b6e03df723ba8a57fb28dcd83fc235c058d93893b7e5b
-rwxr-xr-x | kiss | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -995,9 +995,8 @@ args() { log "kiss 0.5.9" ;; - # Catch all invalid arguments as well as - # any help related flags (-h, --help, help). - *) + # Print usage and exit. + h|he|hel|help|-h|--help) log "kiss [b|c|d|i|l|r|s|u] [pkg] [pkg] [pkg]" \ "build: Build a package." \ "checksum: Generate checksums." \ @@ -1010,6 +1009,11 @@ args() { "search: Search for a package." \ "update: Check for updates." ;; + + # Print message about invalid commands. + *) + die "'kiss $1' is not a valid command." + ;; esac } |