diff options
author | merakor <cem@ckyln.com> | 2020-06-25 07:36:48 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-06-25 07:36:48 +0000 |
commit | 0b8280d311c1770872a4c985928885acfe174863 (patch) | |
tree | bbc91dc2954ad807daecb27677432a397842f110 /contrib/kiss-manifest-tree | |
parent | ba3c8afd8d2dce82d47019ce6145e81cb746aca2 (diff) | |
download | cpt-0b8280d311c1770872a4c985928885acfe174863.tar.gz |
contrib: change usage outputs
FossilOrigin-Name: c30b2273b524acbeea427c290ace358adf68f53134ca97639e61e5e3c03194cb
Diffstat (limited to 'contrib/kiss-manifest-tree')
-rwxr-xr-x | contrib/kiss-manifest-tree | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-manifest-tree b/contrib/kiss-manifest-tree index ac18b98..0cc047e 100755 --- a/contrib/kiss-manifest-tree +++ b/contrib/kiss-manifest-tree @@ -1,7 +1,7 @@ #!/bin/sh -ef # Display all files owned by a package with a tree view -case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ; esac +case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg]" ; exit 0 ; esac kiss l "$1" >/dev/null printf '%s\n' "[$1]:" tree -C --fromfile "$KISS_ROOT/var/db/kiss/installed/$1/manifest" | sed 1,2d |