Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
f83a9fe5
Commit
f83a9fe5
authored
Mar 05, 2014
by
vysheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #126 from koter84/feature-options-list
better list of options for -h
parents
12e14e25
50059df3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
main.c
main.c
+20
-1
No files found.
main.c
View file @
f83a9fe5
...
...
@@ -345,7 +345,26 @@ void inner_main (void) {
}
void
usage
(
void
)
{
printf
(
"%s [-u username] [-h] [-k public key name] [-N] [-v] [-l log_level]
\n
"
,
PROGNAME
);
printf
(
"%s Usage
\n
"
,
PROGNAME
);
printf
(
" -h this help list
\n
"
);
printf
(
" -u username specify username
\n
"
);
printf
(
" -k public-key specify server public key
\n
"
);
printf
(
" -v verbose
\n
"
);
printf
(
" -l [1-3] log level
\n
"
);
printf
(
" -L log-file log net file
\n
"
);
printf
(
" -N message num mode
\n
"
);
printf
(
" -c config-file specify config file
\n
"
);
printf
(
" -p prefix specify prefix
\n
"
);
printf
(
" -R register mode
\n
"
);
printf
(
" -f sync from start
\n
"
);
printf
(
" -B enable binlog
\n
"
);
printf
(
" -E disable auto accept
\n
"
);
printf
(
" -w allow weak random
\n
"
);
printf
(
" -s specify lua script
\n
"
);
printf
(
" -W wait dialog list
\n
"
);
printf
(
"
\n
"
);
exit
(
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