chrt: make --sched-* short options to require an argument
These options are expecting an argument, and the long options struct already required them. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
e9cd2e2bd9
commit
b3a5067148
|
@ -399,7 +399,7 @@ int main(int argc, char **argv)
|
||||||
textdomain(PACKAGE);
|
textdomain(PACKAGE);
|
||||||
atexit(close_stdout);
|
atexit(close_stdout);
|
||||||
|
|
||||||
while((c = getopt_long(argc, argv, "+abdDfiphmoPTrRvV", longopts, NULL)) != -1)
|
while((c = getopt_long(argc, argv, "+abdD:fiphmoP:T:rRvV", longopts, NULL)) != -1)
|
||||||
{
|
{
|
||||||
int ret = EXIT_FAILURE;
|
int ret = EXIT_FAILURE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue