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
2 changed files with 10 additions and 10 deletions
|
@ -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)
|
||||||
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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue