Navigation Menu

Skip to content

Commit

Permalink
[usb-moded] Update and beautify usage information
Browse files Browse the repository at this point in the history
Add option for broken android usb, and make the text line up nicely
for improved readability

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Jun 2, 2014
1 parent af48bfd commit c9e5cbe
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/usb_moded.c
Expand Up @@ -670,17 +670,18 @@ static void usage(void)
"Usage: usb_moded [OPTION]...\n"
"USB mode daemon\n"
"\n"
" -f, --fallback assume always connected\n"
" -s, --force-syslog log to syslog\n"
" -T, --force-stderr log to stderr\n"
" -D, --debug turn on debug printing\n"
" -d, --diag turn on diag mode\n"
" -h, --help display this help and exit\n"
" -r, --rescue rescue mode\n"
" -a, --android_usb_broken \tkeep gadget active on broken android kernels\n"
" -f, --fallback \tassume always connected\n"
" -s, --force-syslog \t\tlog to syslog\n"
" -T, --force-stderr \t\tlog to stderr\n"
" -D, --debug \t\tturn on debug printing\n"
" -d, --diag \t\tturn on diag mode\n"
" -h, --help \t\tdisplay this help and exit\n"
" -r, --rescue \t\trescue mode\n"
#ifdef SYSTEMD
" -n, --systemd notify systemd when started up\n"
" -n, --systemd \t\tnotify systemd when started up\n"
#endif
" -v, --version output version information and exit\n"
" -v, --version \t\toutput version information and exit\n"
"\n");
}

Expand Down

0 comments on commit c9e5cbe

Please sign in to comment.