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