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
d6ef2cdb
Commit
d6ef2cdb
authored
Jan 12, 2015
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Normalise help output
Remove extra newlines, add tabs and ending punctuation.
parent
5d284796
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
23 deletions
+21
-23
cache_acceptor.c
bin/varnishd/cache/cache_acceptor.c
+2
-3
cache_backend_poll.c
bin/varnishd/cache/cache_backend_poll.c
+1
-1
cache_cli.c
bin/varnishd/cache/cache_cli.c
+2
-2
cache_fetch_proc.c
bin/varnishd/cache/cache_fetch_proc.c
+1
-1
cache_main.c
bin/varnishd/cache/cache_main.c
+2
-2
cache_vrt_vmod.c
bin/varnishd/cache/cache_vrt_vmod.c
+1
-1
hash_critbit.c
bin/varnishd/hash/hash_critbit.c
+1
-1
mgt_cli.c
bin/varnishd/mgt/mgt_cli.c
+1
-1
stevedore_mgt.c
bin/varnishd/storage/stevedore_mgt.c
+1
-1
storage_persistent.c
bin/varnishd/storage/storage_persistent.c
+2
-3
vcli.h
include/vcli.h
+7
-7
No files found.
bin/varnishd/cache/cache_acceptor.c
View file @
d6ef2cdb
...
...
@@ -460,9 +460,8 @@ ccf_listen_address(struct cli *cli, const char * const *av, void *priv)
static
struct
cli_proto
vca_cmds
[]
=
{
{
CLI_SERVER_START
,
"i"
,
ccf_start
},
{
"debug.listen_address"
,
"debug.listen_address"
,
"Report the actual listen address
\n
"
,
0
,
0
,
{
"debug.listen_address"
,
"debug.listen_address"
,
"
\t
Report the actual listen address."
,
0
,
0
,
"d"
,
ccf_listen_address
,
NULL
},
{
NULL
}
};
...
...
bin/varnishd/cache/cache_backend_poll.c
View file @
d6ef2cdb
...
...
@@ -430,7 +430,7 @@ vbp_health(struct cli *cli, const char * const *av, void *priv)
static
struct
cli_proto
debug_cmds
[]
=
{
{
"debug.health"
,
"debug.health"
,
"
\t
Dump backend health
stuff
\n
"
,
"
\t
Dump backend health
information.
"
,
0
,
0
,
"d"
,
vbp_health
},
{
NULL
}
};
...
...
bin/varnishd/cache/cache_cli.c
View file @
d6ef2cdb
...
...
@@ -201,10 +201,10 @@ static struct cli_proto master_cmds[] = {
{
CLI_PING
,
"i"
,
VCLS_func_ping
},
{
CLI_HELP
,
"i"
,
VCLS_func_help
},
{
"debug.sizeof"
,
"debug.sizeof"
,
"
\t
Dump sizeof various data structures
\n
"
,
"
\t
Dump sizeof various data structures
.
"
,
0
,
0
,
"d"
,
cli_debug_sizeof
},
{
"debug.panic.worker"
,
"debug.panic.worker"
,
"
\t
Panic the worker process.
\n
"
,
"
\t
Panic the worker process."
,
0
,
0
,
"d"
,
ccf_panic
},
{
NULL
}
};
...
...
bin/varnishd/cache/cache_fetch_proc.c
View file @
d6ef2cdb
...
...
@@ -230,7 +230,7 @@ debug_fragfetch(struct cli *cli, const char * const *av, void *priv)
static
struct
cli_proto
debug_cmds
[]
=
{
{
"debug.fragfetch"
,
"debug.fragfetch"
,
"
\t
Enable fetch fragmentation
\n
"
,
1
,
1
,
"d"
,
debug_fragfetch
},
"
\t
Enable fetch fragmentation
.
"
,
1
,
1
,
"d"
,
debug_fragfetch
},
{
NULL
}
};
...
...
bin/varnishd/cache/cache_main.c
View file @
d6ef2cdb
...
...
@@ -176,9 +176,9 @@ cli_debug_srandom(struct cli *cli, const char * const *av, void *priv)
static
struct
cli_proto
debug_cmds
[]
=
{
{
"debug.xid"
,
"debug.xid"
,
"
\t
Examine or set XID
\n
"
,
0
,
1
,
"d"
,
cli_debug_xid
},
"
\t
Examine or set XID
.
"
,
0
,
1
,
"d"
,
cli_debug_xid
},
{
"debug.srandom"
,
"debug.srandom"
,
"
\t
Seed the random(3) function
\n
"
,
0
,
1
,
"d"
,
"
\t
Seed the random(3) function
.
"
,
0
,
1
,
"d"
,
cli_debug_srandom
},
{
NULL
}
};
...
...
bin/varnishd/cache/cache_vrt_vmod.c
View file @
d6ef2cdb
...
...
@@ -183,7 +183,7 @@ ccf_debug_vmod(struct cli *cli, const char * const *av, void *priv)
}
static
struct
cli_proto
vcl_cmds
[]
=
{
{
"debug.vmod"
,
"debug.vmod"
,
"
show loaded vmods
"
,
0
,
0
,
{
"debug.vmod"
,
"debug.vmod"
,
"
\t
Show loaded vmods.
"
,
0
,
0
,
"d"
,
ccf_debug_vmod
},
{
NULL
}
};
...
...
bin/varnishd/hash/hash_critbit.c
View file @
d6ef2cdb
...
...
@@ -343,7 +343,7 @@ hcb_dump(struct cli *cli, const char * const *av, void *priv)
}
static
struct
cli_proto
hcb_cmds
[]
=
{
{
"hcb.dump"
,
"hcb.dump"
,
"
dump HCB tree
\n
"
,
0
,
0
,
"d"
,
hcb_dump
},
{
"hcb.dump"
,
"hcb.dump"
,
"
\t
Dump HCB tree.
"
,
0
,
0
,
"d"
,
hcb_dump
},
{
NULL
}
};
...
...
bin/varnishd/mgt/mgt_cli.c
View file @
d6ef2cdb
...
...
@@ -120,7 +120,7 @@ mcf_panic(struct cli *cli, const char * const *av, void *priv)
static
struct
cli_proto
cli_debug
[]
=
{
{
"debug.panic.master"
,
"debug.panic.master"
,
"
\t
Panic the master process.
\n
"
,
"
\t
Panic the master process."
,
0
,
0
,
"d"
,
mcf_panic
,
NULL
},
{
NULL
}
};
...
...
bin/varnishd/storage/stevedore_mgt.c
View file @
d6ef2cdb
...
...
@@ -70,7 +70,7 @@ stv_cli_list(struct cli *cli, const char * const *av, void *priv)
/*--------------------------------------------------------------------*/
struct
cli_proto
cli_stv
[]
=
{
{
"storage.list"
,
"storage.list"
,
"
List storage devices
\n
"
,
{
"storage.list"
,
"storage.list"
,
"
\t
List storage devices.
"
,
0
,
0
,
""
,
stv_cli_list
},
{
NULL
}
};
...
...
bin/varnishd/storage/storage_persistent.c
View file @
d6ef2cdb
...
...
@@ -668,12 +668,11 @@ debug_persistent(struct cli *cli, const char * const * av, void *priv)
static
struct
cli_proto
debug_cmds
[]
=
{
{
"debug.persistent"
,
"debug.persistent"
,
"Persistent debugging magic:
\n
"
"
\t
debug.persistent [
stevedore [cmd
]]
\n
"
"
\t
debug.persistent [
<stevedore> [<cmd>
]]
\n
"
"With no cmd arg, a summary of the silo is returned.
\n
"
"Possible commands:
\n
"
"
\t
sync
\t
Close current segment, open a new one
\n
"
"
\t
dump
\t
include objcores in silo summary
\n
"
""
,
"
\t
dump
\t
include objcores in silo summary"
,
0
,
2
,
"d"
,
debug_persistent
},
{
NULL
}
};
...
...
include/vcli.h
View file @
d6ef2cdb
...
...
@@ -122,7 +122,7 @@
#define CLI_SERVER_STOP \
"stop", \
"stop", \
"\tStop the Varnish cache process", \
"\tStop the Varnish cache process
.
", \
0, 0
#define CLI_SERVER_START \
...
...
@@ -133,20 +133,20 @@
#define CLI_PING \
"ping", \
"ping [
timestamp
]", \
"\tKeep connection alive", \
"ping [
<timestamp>
]", \
"\tKeep connection alive
.
", \
0, 1
#define CLI_HELP \
"help", \
"help [
command
]", \
"\tShow command/protocol help
",
\
"help [
<command>
]", \
"\tShow command/protocol help
.",
\
0, 1
#define CLI_QUIT \
"quit", \
"quit", \
"\tClose connection", \
"\tClose connection
.
", \
0, 0
#define CLI_SERVER_STATUS \
...
...
@@ -163,7 +163,7 @@
#define CLI_AUTH \
"auth", \
"auth
response
", \
"auth
<response>
", \
"\tAuthenticate.", \
1, 1
...
...
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