summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/driver/drv_args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/driver/drv_args.cpp')
-rw-r--r--TAO/TAO_IDL/driver/drv_args.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/driver/drv_args.cpp b/TAO/TAO_IDL/driver/drv_args.cpp
index 5a5377f7849..1f81a9f6c11 100644
--- a/TAO/TAO_IDL/driver/drv_args.cpp
+++ b/TAO/TAO_IDL/driver/drv_args.cpp
@@ -664,22 +664,22 @@ process_long_option(long ac, char **av, long &i)
else
{
i++;
- if (!ACE_OS::strcmp (long_option, "warn-once"))
+ if (!ACE_OS::strcmp (av[i], "warn-once"))
{
idl_global->unknown_annotations_ =
IDL_GlobalData::UNKNOWN_ANNOTATIONS_WARN_ONCE;
}
- else if (!ACE_OS::strcmp (long_option, "warn-all"))
+ else if (!ACE_OS::strcmp (av[i], "warn-all"))
{
idl_global->unknown_annotations_ =
IDL_GlobalData::UNKNOWN_ANNOTATIONS_WARN_ALL;
}
- else if (!ACE_OS::strcmp (long_option, "error"))
+ else if (!ACE_OS::strcmp (av[i], "error"))
{
idl_global->unknown_annotations_ =
IDL_GlobalData::UNKNOWN_ANNOTATIONS_ERROR;
}
- else if (!ACE_OS::strcmp (long_option, "ignore"))
+ else if (!ACE_OS::strcmp (av[i], "ignore"))
{
idl_global->unknown_annotations_ =
IDL_GlobalData::UNKNOWN_ANNOTATIONS_IGNORE;