aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-manifest
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
committermerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
commitfc8de2a8f48485ad8b035a4e76098c4a7dbadb05 (patch)
tree8334227f749afc03c992f7d17edbf72cb5bd6ba8 /contrib/cpt-manifest
parentf7d3e9f6771a75bff790c569a149f0fee1d28f41 (diff)
downloadcpt-fc8de2a8f48485ad8b035a4e76098c4a7dbadb05.tar.gz
docs: update
FossilOrigin-Name: 143ea57c3d8309faf15399199d0e2930f07371a34c08ff16e9a9f5fbb0be6a23
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]"