From fc8de2a8f48485ad8b035a4e76098c4a7dbadb05 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 12 Mar 2021 13:58:36 +0000 Subject: docs: update FossilOrigin-Name: 143ea57c3d8309faf15399199d0e2930f07371a34c08ff16e9a9f5fbb0be6a23 --- contrib/cpt-repodepends | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'contrib/cpt-repodepends') diff --git a/contrib/cpt-repodepends b/contrib/cpt-repodepends index 0babe69..525a62a 100755 --- a/contrib/cpt-repodepends +++ b/contrib/cpt-repodepends @@ -1,6 +1,25 @@ #!/bin/sh -e # Display a package's dependencies in the repository +## SYNOPSIS: +## .Nm +## .Op Ar pkg + +## DESCRIPTION: +## .Nm +## displays the dependencies of the given +## .Em repository package . +## If no package name is given, +## .Nm +## will use the name of the current directory as the package. +## +## Unlike +## .Xr cpt-depends 1 , +## .Nm +## checks the package repository in order to print the dependencies, and the +## package does not have to be installed on the system. +## see: cpt-depends.1 + case "$1" in --help|-h) printf '%s\n' "usage: ${0##*/} [pkg]" -- cgit v1.2.3