From b3a50671480095c3723ef0792d5f80aba80f31b2 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 3 Apr 2016 09:35:27 +0100 Subject: 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 --- schedutils/chrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'schedutils/chrt.c') diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 363d6e1df..64a58584f 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; -- cgit v1.2.3-55-g7522