diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-28 12:16:01 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-28 12:16:01 +0000 |
commit | 3c7ea81b2403a8fb36081845bcf2f4102a665bb4 (patch) | |
tree | a4bcf34b6afe17cf852bd6e00c2b2a7103105bdc /kiss | |
parent | 73e1f67e2b377d2f9c0727e279ced5b78c563b0b (diff) | |
download | cpt-3c7ea81b2403a8fb36081845bcf2f4102a665bb4.tar.gz |
kiss: initial a arg
FossilOrigin-Name: cfea656ecf9891c9f9b7099c68076065097af2cd72091dcc911b925f2d39d756
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -1168,6 +1168,10 @@ args() { # Actions can be abbreviated to their first letter. This saves # keystrokes once you memorize the commands. case $action in + a|alternatives) + + ;; + b|build) # If no arguments were passed, rebuild all packages. [ "$1" ] || { @@ -1248,15 +1252,16 @@ args() { ;; h|help|-h|--help|'') - log 'kiss [b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' - log 'build: Build a package' - log 'checksum: Generate checksums' - log 'install: Install a package' - log 'list: List installed packages' - log 'remove: Remove a package' - log 'search: Search for a package' - log 'update: Check for updates' - log 'version: Package manager version' + log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' + log 'alternatives: List and swap to alternatives' + log 'build: Build a package' + log 'checksum: Generate checksums' + log 'install: Install a package' + log 'list: List installed packages' + log 'remove: Remove a package' + log 'search: Search for a package' + log 'update: Check for updates' + log 'version: Package manager version' ;; *) die "'kiss $action' is not a valid command" ;; |