Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
c80068a8
Commit
c80068a8
authored
Aug 25, 2020
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vapi: Declare VSC_OPT_f
It is not limited to varnishstat.
parent
f658f830
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
varnishstat_options.h
bin/varnishstat/varnishstat_options.h
+1
-9
vapi_options.h
include/vapi/vapi_options.h
+11
-0
No files found.
bin/varnishstat/varnishstat_options.h
View file @
c80068a8
...
...
@@ -38,14 +38,6 @@
"Instead of presenting a continuously updated display," \
" 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 \
VOPT("j", "[-j]", "Print statistics to stdout as JSON", \
"Print statistics to stdout as JSON." \
...
...
@@ -61,7 +53,7 @@
)
STAT_OPT_1
STAT
_OPT_f
VSC
_OPT_f
VUT_OPT_h
STAT_OPT_j
STAT_OPT_l
...
...
include/vapi/vapi_options.h
View file @
c80068a8
...
...
@@ -124,3 +124,14 @@
" taglist and regular expression. Applies to any tag if" \
" 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." \
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment