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
4349d429
Commit
4349d429
authored
Nov 22, 2012
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shrpx: Add usage for <PRIVATE_KEY> <CERT>
parent
9aa7af2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/shrpx.cc
src/shrpx.cc
+7
-2
No files found.
src/shrpx.cc
View file @
4349d429
...
@@ -367,7 +367,7 @@ void print_usage(std::ostream& out)
...
@@ -367,7 +367,7 @@ void print_usage(std::ostream& out)
{
{
out
<<
"Usage: shrpx [-Dh] [-s|--client|-p] [-b <HOST,PORT>]
\n
"
out
<<
"Usage: shrpx [-Dh] [-s|--client|-p] [-b <HOST,PORT>]
\n
"
<<
" [-f <HOST,PORT>] [-n <CORES>] [-c <NUM>] [-L <LEVEL>]
\n
"
<<
" [-f <HOST,PORT>] [-n <CORES>] [-c <NUM>] [-L <LEVEL>]
\n
"
<<
" [OPTIONS...]
<PRIVATE_KEY> <CERT>
\n
"
<<
" [OPTIONS...]
[<PRIVATE_KEY> <CERT>]
\n
"
<<
"
\n
"
<<
"
\n
"
<<
"A reverse proxy for SPDY/HTTPS.
\n
"
<<
"A reverse proxy for SPDY/HTTPS.
\n
"
<<
std
::
endl
;
<<
std
::
endl
;
...
@@ -378,7 +378,12 @@ namespace {
...
@@ -378,7 +378,12 @@ namespace {
void
print_help
(
std
::
ostream
&
out
)
void
print_help
(
std
::
ostream
&
out
)
{
{
print_usage
(
out
);
print_usage
(
out
);
out
<<
"
\n
"
out
<<
"Positional arguments:
\n
"
<<
" <PRIVATE_KEY> Set path to server's private key. Required
\n
"
<<
" unless either -p or --client is specified.
\n
"
<<
" <CERT> Set path to server's certificate. Required
\n
"
<<
" unless either -p or --client is specified.
\n
"
<<
"
\n
"
<<
"OPTIONS:
\n
"
<<
"OPTIONS:
\n
"
<<
" -b, --backend=<HOST,PORT>
\n
"
<<
" -b, --backend=<HOST,PORT>
\n
"
<<
" Set backend host and port.
\n
"
<<
" Set backend host and port.
\n
"
...
...
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