1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-05-17 03:06:13 +02:00

usyslogd: fix getopt arguments

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-09-01 13:11:01 +02:00
parent dc30dd7530
commit 3b8764b9d2

View file

@ -40,14 +40,14 @@ static const struct option long_opts[] = {
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' },
{ "rotate-replace", no_argument, NULL, 'r' },
{ "chroot", no_argument, NULL, 'c' },
{ "max-size", required_argument, NULL, 'm' },
{ "user", required_argument, NULL, 'u' },
{ "group", required_argument, NULL, 'g' },
{ "chroot", required_argument, NULL, 'c' },
{ NULL, 0, NULL, 0 },
};
const char *short_opts = "hVrm:";
static const char *short_opts = "hVcrm:u:g:";
const char *version_string =
"usyslogd (pygos init) " PACKAGE_VERSION "\n"