Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-switch-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
white-rabbit
wr-switch-sw
Commits
6b856c9c
Commit
6b856c9c
authored
Feb 05, 2016
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/wrsw_hal: improve help
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
c9ef451e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
hal_main.c
userspace/wrsw_hal/hal_main.c
+9
-3
No files found.
userspace/wrsw_hal/hal_main.c
View file @
6b856c9c
...
...
@@ -166,9 +166,15 @@ static void hal_daemonize(void)
static
void
show_help
(
void
)
{
printf
(
"WR Switch Hardware Abstraction Layer daemon (wrsw_hal)
\n
\
Usage: wrsw_hal [options], where [options] can be:
\n
\
-d : fork into background (daemon mode)
\n
"
);
printf
(
"WR Switch Hardware Abstraction Layer daemon (wrsw_hal)
\n
"
"Usage: wrsw_hal [options], where [options] can be:
\n
"
" -d : fork into background (daemon mode)
\n
"
" -h : display help
\n
"
" -l <file> : set logfile
\n
"
" -f <file> : use custom dot-config file
\n
"
" -q : decrease verbosity
\n
"
" -v : increase verbosity
\n
"
"
\n
"
);
}
static
void
hal_parse_cmdline
(
int
argc
,
char
*
argv
[])
...
...
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