aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-04-03 13:27:14 +0000
committermerakor <cem@ckyln.com>2021-04-03 13:27:14 +0000
commitcf6dc9365bde782681e192b5b2fa280bd6034787 (patch)
tree3a15a7aff52212ad3d44cd73317822fc8a1eda66 /man
parentc1faf64caeaffbf9b75ea7d49d9f5ac34edb013f (diff)
downloadcpt-cf6dc9365bde782681e192b5b2fa280bd6034787.tar.gz
cpt-list: update usage docstring
FossilOrigin-Name: 541a3f8b59bda394154164db7901e8957d578a543ab020b29b71f14de5d13886
Diffstat (limited to 'man')
-rw-r--r--man/cpt-list.18
1 files changed, 5 insertions, 3 deletions
diff --git a/man/cpt-list.1 b/man/cpt-list.1
index 16a2959..292ba13 100644
--- a/man/cpt-list.1
+++ b/man/cpt-list.1
@@ -6,8 +6,10 @@
.Sh SYNOPSIS
.Nm
.Op Fl c
-.Op Fl -check Ar args...
-.Op Ar pkg...
+.Ar pkg...
+.Nm
+.Fl C
+.Ar pkg true-statement false-statement
.Sh DESCRIPTION
.Nm
can be used to list all packages or check if the given package is
@@ -26,7 +28,7 @@ flags can be used in order to change the behaviour of the utility:
.It Fl c , -current
Assumes that the current directory is a package and will use it instead of
arguments.
-.It Fl -check Ar package true_statement false_statement
+.It Fl C , -check Ar package true_statement false_statement
Checks whether the
.Em package
is installed on the system and returns the string for