parent
d8f173fd2e
commit
fdc0d8468a
|
@ -362,13 +362,8 @@ static void help(int error)
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
enum {
|
|
||||||
ARG_VERSION = 0x100,
|
|
||||||
};
|
|
||||||
|
|
||||||
static const struct option options[] = {
|
static const struct option options[] = {
|
||||||
{ "help", no_argument, NULL, 'h' },
|
{ "help", no_argument, NULL, 'h' },
|
||||||
{ "version", no_argument, NULL, ARG_VERSION },
|
|
||||||
{ "interactive", no_argument, NULL, 'i' },
|
{ "interactive", no_argument, NULL, 'i' },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
@ -387,10 +382,6 @@ int main(int argc, char **argv)
|
||||||
case 'h':
|
case 'h':
|
||||||
help(0);
|
help(0);
|
||||||
|
|
||||||
case ARG_VERSION:
|
|
||||||
puts(PACKAGE_STRING);
|
|
||||||
exit(0);
|
|
||||||
|
|
||||||
case 'i':
|
case 'i':
|
||||||
opt_interactive = 1;
|
opt_interactive = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue