Commit c80068a8 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vapi: Declare VSC_OPT_f

It is not limited to varnishstat.
parent f658f830
...@@ -38,14 +38,6 @@ ...@@ -38,14 +38,6 @@
"Instead of presenting a continuously updated display," \ "Instead of presenting a continuously updated display," \
" print the statistics to stdout." \ " print the statistics to stdout." \
) )
#define STAT_OPT_f \
VOPT("f:", "[-f <glob>]", "Field inclusion glob", \
"Field inclusion glob." \
" Use backslash to escape characters. If the argument" \
" starts with '^' it is used as an exclusive glob." \
" Multiple -f arguments may be given. Inclusive globs" \
" are accumulative and are run before exclusive ones." \
)
#define STAT_OPT_j \ #define STAT_OPT_j \
VOPT("j", "[-j]", "Print statistics to stdout as JSON", \ VOPT("j", "[-j]", "Print statistics to stdout as JSON", \
"Print statistics to stdout as JSON." \ "Print statistics to stdout as JSON." \
...@@ -61,7 +53,7 @@ ...@@ -61,7 +53,7 @@
) )
STAT_OPT_1 STAT_OPT_1
STAT_OPT_f VSC_OPT_f
VUT_OPT_h VUT_OPT_h
STAT_OPT_j STAT_OPT_j
STAT_OPT_l STAT_OPT_l
......
...@@ -124,3 +124,14 @@ ...@@ -124,3 +124,14 @@
" taglist and regular expression. Applies to any tag if" \ " taglist and regular expression. Applies to any tag if" \
" taglist is absent. Multiple -X options may be given.\n" \ " taglist is absent. Multiple -X options may be given.\n" \
) )
/* VSC options */
#define VSC_OPT_f \
VOPT("f:", "[-f <glob>]", "Field inclusion glob", \
"Field inclusion glob." \
" Use backslash to escape characters. If the argument" \
" starts with '^' it is used as an exclusive glob." \
" Multiple -f arguments may be given. Inclusive globs" \
" are accumulative and are run before exclusive ones." \
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment