summaryrefslogtreecommitdiff
path: root/rtems-ra.cpp
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2014-08-09 20:32:50 +0800
committerChris Johns <chrisj@rtems.org>2014-09-01 09:59:01 +1000
commit02ccf12ec62e7894786b6fff059f92fdcd7acaa1 (patch)
treefe83d78e8668583e38fe5835d84700e883cd7b49 /rtems-ra.cpp
parent27d132f87f7d6f0baeb382e69c2b1e6b88a40b55 (diff)
Fix getopt_long usage
When passing shorhand options, getopt_long sometimes does not handle them correctly. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'rtems-ra.cpp')
-rw-r--r--rtems-ra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtems-ra.cpp b/rtems-ra.cpp
index 0900ccc..5edfb12 100644
--- a/rtems-ra.cpp
+++ b/rtems-ra.cpp
@@ -177,7 +177,7 @@ main (int argc, char* argv[])
while (true)
{
- int opt = ::getopt_long (argc, argv, "hVvnS:a:p:L:l:o:C:E:c:R:W:A:r:d", rld_opts, NULL);
+ int opt = ::getopt_long (argc, argv, "hVvnSa:p:L:l:o:C:E:c:R:W:A:r:d:", rld_opts, NULL);
if (opt < 0)
break;