Commit 92e11aef authored by Anthony Foiani's avatar Anthony Foiani Committed by Greg Kroah-Hartman

staging: usbip: fix up alignment in long options list

Re-align the option lists.
Signed-off-by: default avatarAnthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5894af89
...@@ -139,10 +139,10 @@ static int run_command(const struct command *cmd, int argc, char *argv[]) ...@@ -139,10 +139,10 @@ static int run_command(const struct command *cmd, int argc, char *argv[])
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
static const struct option opts[] = { static const struct option opts[] = {
{ "debug", no_argument, NULL, 'd' }, { "debug", no_argument, NULL, 'd' },
{ "log", no_argument, NULL, 'l' }, { "log", no_argument, NULL, 'l' },
{ "tcp-port", required_argument, NULL, 't' }, { "tcp-port", required_argument, NULL, 't' },
{ NULL, 0, NULL, 0 } { NULL, 0, NULL, 0 }
}; };
char *cmd; char *cmd;
......
...@@ -560,13 +560,13 @@ static int do_standalone_mode(int daemonize) ...@@ -560,13 +560,13 @@ static int do_standalone_mode(int daemonize)
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
static const struct option longopts[] = { static const struct option longopts[] = {
{ "daemon", no_argument, NULL, 'D' }, { "daemon", no_argument, NULL, 'D' },
{ "debug", no_argument, NULL, 'd' }, { "debug", no_argument, NULL, 'd' },
{ "pid", optional_argument, NULL, 'P' }, { "pid", optional_argument, NULL, 'P' },
{ "tcp-port", required_argument, NULL, 't' }, { "tcp-port", required_argument, NULL, 't' },
{ "help", no_argument, NULL, 'h' }, { "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'v' }, { "version", no_argument, NULL, 'v' },
{ NULL, 0, NULL, 0 } { NULL, 0, NULL, 0 }
}; };
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment