aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-depends
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 12:22:30 +0000
committermerakor <cem@ckyln.com>2021-03-12 12:22:30 +0000
commit81e3f00288d6fdc93de2dc31c065ebe3bdb1adf5 (patch)
treec68eef3692212bb7dd6be17f44b8afbdf478b5a7 /contrib/cpt-depends
parentf086f31f2e7c0418d888a2db5accf78ae0e5d8e0 (diff)
downloadcpt-81e3f00288d6fdc93de2dc31c065ebe3bdb1adf5.tar.gz
docs: update
FossilOrigin-Name: fb505a8b22eb533c8857eaa002228f2c950ac1cdb4c7b314daf7b61cb25bed53
Diffstat (limited to 'contrib/cpt-depends')
-rwxr-xr-xcontrib/cpt-depends12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/cpt-depends b/contrib/cpt-depends
index 1076442..85b8506 100755
--- a/contrib/cpt-depends
+++ b/contrib/cpt-depends
@@ -1,6 +1,18 @@
#!/bin/sh -ef
# Display a package's dependencies
+## SYNOPSIS:
+## .Nm
+## .Op Ar pkg
+
+## DESCRIPTION:
+## .Nm
+## displays the dependencies of the given
+## .Em installed package .
+## If no package name is given,
+## .Nm
+## will use the name of the current directory as the package.
+
case "$1" in
--help|-h)
printf 'usage: %s [pkg]\n' "${0##*/}"