From: Sami Kerola Date: Sun, 3 Apr 2016 08:35:27 +0000 (+0100) Subject: chrt: make --sched-* short options to require an argument X-Git-Tag: v2.28~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3a50671480095c3723ef0792d5f80aba80f31b2;p=thirdparty%2Futil-linux.git 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 --- diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 363d6e1df3..64a58584ff 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -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;