forked from kiss-community/kiss
Reset arguments on 'kiss help' function
This removes the previous arguments when calling kiss help so that they are not listed as extensions. This is not a big issue, but someone can type kiss help please and 'please' would be shown as an available extension. Signed-off-by: Dylan Araps <dylan.araps@gmail.com>
This commit is contained in:
parent
772f6beae3
commit
df6c55e439
2
kiss
2
kiss
@ -1347,6 +1347,8 @@ args() {
|
|||||||
|
|
||||||
log "Installed extensions (kiss-* in \$PATH)"
|
log "Installed extensions (kiss-* in \$PATH)"
|
||||||
|
|
||||||
|
set --
|
||||||
|
|
||||||
for path in $(KISS_PATH=$PATH pkg_find kiss-\* all); do
|
for path in $(KISS_PATH=$PATH pkg_find kiss-\* all); do
|
||||||
set -- "${path#*/kiss-}" "$@"
|
set -- "${path#*/kiss-}" "$@"
|
||||||
max=$((${#1} > max ? ${#1} : max))
|
max=$((${#1} > max ? ${#1} : max))
|
||||||
|
Loading…
Reference in New Issue
Block a user