From 5edc00087343c9f1af7f345b86914c1f0fa94bfd Mon Sep 17 00:00:00 2001 From: merakor Date: Sat, 7 Aug 2021 21:00:10 +0000 Subject: global_options: add argument to call silent FossilOrigin-Name: cab50844d5456d5bb7c10625e3f34038146b84780b93f3abed107c74378cc41f --- docs/cpt.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs/cpt.texi') diff --git a/docs/cpt.texi b/docs/cpt.texi index 7487209..ab1df89 100644 --- a/docs/cpt.texi +++ b/docs/cpt.texi @@ -1034,7 +1034,7 @@ parser_definition() @{ The @samp{global_options()} function is a simple convenience call to include flags that can be used inside most @samp{cpt} tools. It defines the following flags: -@multitable {aaaa} {aaaaaaaaaaaaa} {aaaaaaaaaaaa} +@multitable {aaaa} {aaaaaaaaaaaaa} {aaaaaaaaaaaaa} @headitem Flag @tab Long Option @tab Calls @@ -1053,8 +1053,14 @@ that can be used inside most @samp{cpt} tools. It defines the following flags: @item @code{-v} @tab @code{--version} @tab @samp{version()} +@item +@tab @code{--verbose} +@tab @samp{CPT_VERBOSE} @end multitable +If you don't want these options to be printed on the usage, you can disable it +by calling @code{global_options silent} instead. + @node Message functions @section Message functions -- cgit v1.2.3