Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
2b7627f7
Commit
2b7627f7
authored
Mar 14, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h2load: Use raw-string literal for help output
parent
0620052f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
27 deletions
+25
-27
src/h2load.cc
src/h2load.cc
+25
-27
No files found.
src/h2load.cc
View file @
2b7627f7
...
@@ -527,8 +527,8 @@ void print_version(std::ostream& out)
...
@@ -527,8 +527,8 @@ void print_version(std::ostream& out)
namespace
{
namespace
{
void
print_usage
(
std
::
ostream
&
out
)
void
print_usage
(
std
::
ostream
&
out
)
{
{
out
<<
"Usage: h2load [OPTIONS]... <URI>
\n
"
out
<<
R"(Usage: h2load [OPTIONS]... <URI>
<<
"benchmarking tool for HTTP/2 and SPDY server
"
<<
std
::
endl
;
benchmarking tool for HTTP/2 and SPDY server)
"
<<
std
::
endl
;
}
}
}
// namespace
}
// namespace
...
@@ -536,31 +536,29 @@ namespace {
...
@@ -536,31 +536,29 @@ namespace {
void
print_help
(
std
::
ostream
&
out
)
void
print_help
(
std
::
ostream
&
out
)
{
{
print_usage
(
out
);
print_usage
(
out
);
out
<<
"
\n
"
<<
" <URI> Specify URI to access.
\n
"
out
<<
R"(
<<
"Options:
\n
"
<URI> Specify URI to access.
<<
" -n, --requests=<N> Number of requests. Default: "
Options:
<<
config
.
nreqs
<<
"
\n
"
-n, --requests=<N> Number of requests. Default: )"
<<
" -c, --clients=<N> Number of concurrent clients. Default: "
<<
config
.
nreqs
<<
R"(
<<
config
.
nclients
<<
"
\n
"
-c, --clients=<N> Number of concurrent clients. Default: )"
<<
" -t, --threads=<N> Number of native threads. Default: "
<<
config
.
nclients
<<
R"(
<<
config
.
nthreads
<<
"
\n
"
-t, --threads=<N> Number of native threads. Default: )"
<<
" -m, --max-concurrent-streams=<N>
\n
"
<<
config
.
nthreads
<<
R"(
<<
" Max concurrent streams to issue per session.
\n
"
-m, --max-concurrent-streams=<N>
<<
" Default: "
Max concurrent streams to issue per session.
<<
config
.
max_concurrent_streams
<<
"
\n
"
Default: )"
<<
" -w, --window-bits=<N>
\n
"
<<
config
.
max_concurrent_streams
<<
R"(
<<
" Sets the stream level initial window size
\n
"
-w, --window-bits=<N>
<<
" to (2**<N>)-1. For SPDY, 2**<N> is used
\n
"
Sets the stream level initial window size to
<<
" instead.
\n
"
(2**<N>)-1. For SPDY, 2**<N> is used instead.
<<
" -W, --connection-window-bits=<N>
\n
"
-W, --connection-window-bits=<N>
<<
" Sets the connection level initial window
\n
"
Sets the connection level initial window size to
<<
" size to 2**<N>-1. This option does not work
\n
"
(2**<N>)-1. This option does not work with SPDY.
<<
" with SPDY.
\n
"
-v, --verbose Output debug information.
<<
" instead.
\n
"
--version Display version information and exit.
<<
" -v, --verbose Output debug information.
\n
"
-h, --help Display this help and exit.)"
<<
" --version Display version information and exit.
\n
"
<<
" -h, --help Display this help and exit.
\n
"
<<
std
::
endl
;
<<
std
::
endl
;
}
}
}
// namespace
}
// namespace
...
...
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