summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2016-04-03 09:35:27 +0100
committerKarel Zak <kzak@redhat.com>2016-04-04 10:26:03 +0200
commitb3a50671480095c3723ef0792d5f80aba80f31b2 (patch)
tree15f1aec7e909b46f1f991efd8cb00e287d28a619
parente9cd2e2bd9ec91a0b1050c4aa79555d142985924 (diff)
downloadutil-linux-b3a50671480095c3723ef0792d5f80aba80f31b2.tar.gz
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>
-rw-r--r--schedutils/chrt.c2
1 files changed, 1 insertions, 1 deletions
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;