aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-manifest-tree
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cpt-manifest-tree')
-rwxr-xr-xcontrib/cpt-manifest-tree11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/cpt-manifest-tree b/contrib/cpt-manifest-tree
index d89c85c..599c0bd 100755
--- a/contrib/cpt-manifest-tree
+++ b/contrib/cpt-manifest-tree
@@ -1,6 +1,17 @@
#!/bin/sh -ef
# Display all files owned by a package with a tree view
+## SYNOPSIS:
+## .Nm
+## .Op Ar package
+## DESCRIPTION:
+## .Nm
+## prints the manifest of the given package to the standard output as a tree
+## view. If no package name is given,
+## .Nm
+## will use the name of the current directory for the package.
+## see: tree.1
+
case "$1" in
--help|-h)
printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg]"