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:
Sami Kerola 2016-04-03 09:35:27 +01:00 committed by Karel Zak
parent e9cd2e2bd9
commit b3a5067148
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ int main(int argc, char **argv)
textdomain(PACKAGE);
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;