diff options
author | merakor <cem@ckyln.com> | 2021-07-17 22:35:14 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-07-17 22:35:14 +0000 |
commit | 8e4ef0338bed826f54313fe553231271b4a99618 (patch) | |
tree | 89a32e09abd0fd81f14c89a632dff82a59a4d8b6 | |
parent | f2acffb9bd6d4d5dcf4b8f1e5088c1923c439765 (diff) | |
download | cpt-8e4ef0338bed826f54313fe553231271b4a99618.tar.gz |
add --verbose flag
FossilOrigin-Name: 6ded7bb8d323e48fe12e43e9e568cad9588f866b38c08599055bf450c6d2ea9d
-rw-r--r-- | man/cpt-build.1 | 2 | ||||
-rw-r--r-- | man/cpt-install.1 | 2 | ||||
-rw-r--r-- | man/cpt-remove.1 | 2 | ||||
-rw-r--r-- | man/cpt-search.1 | 2 | ||||
-rw-r--r-- | man/cpt-update.1 | 2 | ||||
-rw-r--r-- | src/cpt-lib.in | 1 |
6 files changed, 11 insertions, 0 deletions
diff --git a/man/cpt-build.1 b/man/cpt-build.1 index 79b24c6..1393aed 100644 --- a/man/cpt-build.1 +++ b/man/cpt-build.1 @@ -33,6 +33,8 @@ Use an alternate root directory Show help message .It Fl v , -version Print version information +.It Fl -verbose +Be more verbose .El .Sh AUTHOR .An Cem Keylan Aq Mt cem@ckyln.com diff --git a/man/cpt-install.1 b/man/cpt-install.1 index 65069f3..235c2df 100644 --- a/man/cpt-install.1 +++ b/man/cpt-install.1 @@ -29,6 +29,8 @@ Use an alternate root directory Show help message .It Fl v , -version Print version information +.It Fl -verbose +Be more verbose .El .Sh AUTHOR .An Cem Keylan Aq Mt cem@ckyln.com diff --git a/man/cpt-remove.1 b/man/cpt-remove.1 index f4bb6fb..e4c2e26 100644 --- a/man/cpt-remove.1 +++ b/man/cpt-remove.1 @@ -27,6 +27,8 @@ Use an alternate root directory Show help message .It Fl v , -version Print version information +.It Fl -verbose +Be more verbose .El .Sh AUTHOR .An Cem Keylan Aq Mt cem@ckyln.com diff --git a/man/cpt-search.1 b/man/cpt-search.1 index 05452bd..f59f7b9 100644 --- a/man/cpt-search.1 +++ b/man/cpt-search.1 @@ -24,6 +24,8 @@ package. Show help message .It Fl v , -version Print version information +.It Fl -verbose +Be more verbose .El .Sh EXAMPLES Below are usage examples for diff --git a/man/cpt-update.1 b/man/cpt-update.1 index 3af1205..bc63ea7 100644 --- a/man/cpt-update.1 +++ b/man/cpt-update.1 @@ -30,6 +30,8 @@ Use an alternate root directory Show help message .It Fl v , -version Print version information +.It Fl -verbose +Be more verbose .El .Sh AUTHOR .An Cem Keylan Aq Mt cem@ckyln.com diff --git a/src/cpt-lib.in b/src/cpt-lib.in index a2466af..1e4062a 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -404,6 +404,7 @@ global_options() { param CPT_ROOT --root init:@export -- "Use an alternate root directory" disp :usage -h --help -- "Show this help message" disp :version -v --version -- "Print version information" + flag CPT_VERBOSE --verbose init:@export -- "Be more verbose" } contains() { |