rc-update show not default to show
This commit is contained in:
parent
28a74e2125
commit
5ee9dfff6d
@ -179,9 +179,6 @@ int rc_update (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! action)
|
|
||||||
usage (EXIT_FAILURE);
|
|
||||||
|
|
||||||
verbose = rc_yesno (getenv ("EINFO_VERBOSE"));
|
verbose = rc_yesno (getenv ("EINFO_VERBOSE"));
|
||||||
|
|
||||||
if ((action & DOSHOW && action != DOSHOW) ||
|
if ((action & DOSHOW && action != DOSHOW) ||
|
||||||
@ -204,8 +201,8 @@ int rc_update (int argc, char **argv)
|
|||||||
else
|
else
|
||||||
eerrorx ("%s: invalid command `%s'", applet, argv[optind]);
|
eerrorx ("%s: invalid command `%s'", applet, argv[optind]);
|
||||||
}
|
}
|
||||||
if (! action && opt)
|
if (! action)
|
||||||
action = DOSHOW;
|
usage (EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (optind >= argc) {
|
if (optind >= argc) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user