aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorChandra Chavva <cchavva@redhat.com>2000-10-17 20:10:20 +0000
committerChandra Chavva <cchavva@redhat.com>2000-10-17 20:10:20 +0000
commitea20a7da87b245e4eb49ccc0688b9052c8815fe1 (patch)
tree0b63af43f455a9ea9019e5b1d539419a83670ad0 /gas/as.c
parent13a5e3b8410e0157f5fb92e53b05a044236087b2 (diff)
downloadgdb-ea20a7da87b245e4eb49ccc0688b9052c8815fe1.zip
gdb-ea20a7da87b245e4eb49ccc0688b9052c8815fe1.tar.gz
gdb-ea20a7da87b245e4eb49ccc0688b9052c8815fe1.tar.bz2
Added new option --target-help.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/gas/as.c b/gas/as.c
index 425829e..dab9d25 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -264,6 +264,8 @@ Options:\n\
fprintf (stream, _("\
--help show this message and exit\n"));
fprintf (stream, _("\
+ --target-help show target specific options\n"));
+ fprintf (stream, _("\
-I DIR add DIR to search list for .include directives\n"));
fprintf (stream, _("\
-J don't warn about signed overflow\n"));
@@ -416,7 +418,9 @@ parse_args (pargc, pargv)
{"no-warn", no_argument, NULL, 'W'},
#define OPTION_WARN (OPTION_STD_BASE + 18)
{"warn", no_argument, NULL, OPTION_WARN},
-#define OPTION_WARN_FATAL (OPTION_STD_BASE + 19)
+#define OPTION_TARGET_HELP (OPTION_STD_BASE + 19)
+ {"target-help", no_argument, NULL, OPTION_TARGET_HELP},
+#define OPTION_WARN_FATAL (OPTION_STD_BASE + 20)
{"fatal-warnings", no_argument, NULL, OPTION_WARN_FATAL}
};
@@ -491,6 +495,10 @@ parse_args (pargc, pargv)
new_argv[new_argc++] = optarg;
new_argv[new_argc] = NULL;
break;
+
+ case OPTION_TARGET_HELP:
+ md_show_usage (stdout);
+ exit (EXIT_SUCCESS);
case OPTION_HELP:
show_usage (stdout);