diff options
author | David Sommerseth <davids@redhat.com> | 2009-12-22 16:47:35 +0100 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2009-12-22 21:42:28 +0100 |
commit | 2e2c1eb6ae2147ae68f1af4a0cc90066ad3c4bd0 (patch) | |
tree | 6bdfb9f92b9998830b5f837d460578053ae1b6b7 | |
parent | 77c00420d06ec5010a251d4ecac1f74201cd20ca (diff) | |
download | rt-tests-2e2c1eb6ae2147ae68f1af4a0cc90066ad3c4bd0.tar.gz |
Fixed missing parsing of short arguments in classic_pi (David)
- Added the '+' back to the arguments (John)
Signed-off-by: David Sommerseth <davids@redhat.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/pi_tests/classic_pi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pi_tests/classic_pi.c b/src/pi_tests/classic_pi.c index 59e907b..91a8d6a 100644 --- a/src/pi_tests/classic_pi.c +++ b/src/pi_tests/classic_pi.c @@ -198,7 +198,7 @@ int main(int argc, char **argv) setvbuf (stdout, NULL, _IONBF, 0); /* process command line arguments */ - while ((opt = getopt_long(argc, argv, "+", options, NULL)) != -1) { + while ((opt = getopt_long(argc, argv, "+vqni:", options, NULL)) != -1) { switch (opt) { case '?': usage(); |