aboutsummaryrefslogtreecommitdiff
path: root/docs/cpt.org
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-08-07 21:00:10 +0000
committermerakor <cem@ckyln.com>2021-08-07 21:00:10 +0000
commit5edc00087343c9f1af7f345b86914c1f0fa94bfd (patch)
treefe86522d67fde64ff198cb81ff64dfe27ca6173f /docs/cpt.org
parent79863f68c3016d9ab85d35b54e064621c1934041 (diff)
downloadcpt-5edc00087343c9f1af7f345b86914c1f0fa94bfd.tar.gz
global_options: add argument to call silent
FossilOrigin-Name: cab50844d5456d5bb7c10625e3f34038146b84780b93f3abed107c74378cc41f
Diffstat (limited to 'docs/cpt.org')
-rw-r--r--docs/cpt.org18
1 files changed, 11 insertions, 7 deletions
diff --git a/docs/cpt.org b/docs/cpt.org
index 263c547..abdcd62 100644
--- a/docs/cpt.org
+++ b/docs/cpt.org
@@ -871,13 +871,17 @@ inside. Here is the proper way of doing it.
The =global_options()= function is a simple convenience call to include flags
that can be used inside most =cpt= tools. It defines the following flags:
-| Flag | Long Option | Calls |
-|------+---------------+--------------|
-| ~-f~ | ~--force~ | =CPT_FORCE= |
-| ~-y~ | ~--no-prompt~ | =CPT_PROMPT= |
-| | ~--root~ | =CPT_ROOT= |
-| ~-h~ | ~--help~ | =usage()= |
-| ~-v~ | ~--version~ | =version()= |
+| Flag | Long Option | Calls |
+|------+---------------+---------------|
+| ~-f~ | ~--force~ | =CPT_FORCE= |
+| ~-y~ | ~--no-prompt~ | =CPT_PROMPT= |
+| | ~--root~ | =CPT_ROOT= |
+| ~-h~ | ~--help~ | =usage()= |
+| ~-v~ | ~--version~ | =version()= |
+| | ~--verbose~ | =CPT_VERBOSE= |
+
+If you don't want these options to be printed on the usage, you can disable it
+by calling ~global_options silent~ instead.
** Message functions
:PROPERTIES: