MXS-825: Add support for --execdir
Although claimed in the output of "--help", the long option "--execdir" was not supported. Support for that now added. The long options have now also been sorted in the same order as the options are displayed by the help, to make it easy to check that everything is there. Further, the description column of the output of --help has been aligned.
This commit is contained in:
@ -124,23 +124,24 @@ const char *progname = NULL;
|
||||
static struct option long_options[] =
|
||||
{
|
||||
{"config-check", no_argument, 0, 'c'},
|
||||
{"config", required_argument, 0, 'f'},
|
||||
{"nodaemon", no_argument, 0, 'd'},
|
||||
{"config", required_argument, 0, 'f'},
|
||||
{"log", required_argument, 0, 'l'},
|
||||
{"logdir", required_argument, 0, 'L'},
|
||||
{"datadir", required_argument, 0, 'D'},
|
||||
{"configdir", required_argument, 0, 'C'},
|
||||
{"piddir", required_argument, 0, 'P'},
|
||||
{"libdir", required_argument, 0, 'B'},
|
||||
{"cachedir", required_argument, 0, 'A'},
|
||||
{"libdir", required_argument, 0, 'B'},
|
||||
{"configdir", required_argument, 0, 'C'},
|
||||
{"datadir", required_argument, 0, 'D'},
|
||||
{"execdir", required_argument, 0, 'E'},
|
||||
{"language", required_argument, 0, 'N'},
|
||||
{"piddir", required_argument, 0, 'P'},
|
||||
{"user", required_argument, 0, 'U'},
|
||||
{"syslog", required_argument, 0, 's'},
|
||||
{"maxlog", required_argument, 0, 'S'},
|
||||
{"user", required_argument, 0, 'U'},
|
||||
{"version", no_argument, 0, 'v'},
|
||||
{"help", no_argument, 0, '?'},
|
||||
{"version-full", no_argument, 0, 'V'},
|
||||
{"log_augmentation", required_argument, 0, 'G'},
|
||||
{"version", no_argument, 0, 'v'},
|
||||
{"version-full", no_argument, 0, 'V'},
|
||||
{"help", no_argument, 0, '?'},
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
static bool syslog_configured = false;
|
||||
|
Reference in New Issue
Block a user