mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
staging: usbip: fix up alignment in long options list
Re-align the option lists. Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5894af89f2
commit
92e11aef70
@ -139,10 +139,10 @@ static int run_command(const struct command *cmd, int argc, char *argv[])
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
static const struct option opts[] = {
|
||||
{ "debug", no_argument, NULL, 'd' },
|
||||
{ "log", no_argument, NULL, 'l' },
|
||||
{ "tcp-port", required_argument, NULL, 't' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
{ "debug", no_argument, NULL, 'd' },
|
||||
{ "log", no_argument, NULL, 'l' },
|
||||
{ "tcp-port", required_argument, NULL, 't' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
char *cmd;
|
||||
|
@ -560,13 +560,13 @@ static int do_standalone_mode(int daemonize)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
static const struct option longopts[] = {
|
||||
{ "daemon", no_argument, NULL, 'D' },
|
||||
{ "debug", no_argument, NULL, 'd' },
|
||||
{ "pid", optional_argument, NULL, 'P' },
|
||||
{ "daemon", no_argument, NULL, 'D' },
|
||||
{ "debug", no_argument, NULL, 'd' },
|
||||
{ "pid", optional_argument, NULL, 'P' },
|
||||
{ "tcp-port", required_argument, NULL, 't' },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "version", no_argument, NULL, 'v' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "version", no_argument, NULL, 'v' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user