From a55ff675f931372ba38cc578de488ef7eb8504fa Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 30 Oct 2005 18:08:52 +0000 Subject: [PATCH] * as.c (show_usage): Document "@FILE". * gprof.c (usage): Document "@FILE". * lexsup.c (help): Document "@FILE". --- gas/ChangeLog | 4 ++++ gas/as.c | 2 ++ gprof/ChangeLog | 4 ++-- gprof/gprof.c | 2 +- ld/ChangeLog | 4 ++++ ld/lexsup.c | 6 +++++- 6 files changed, 18 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c0af442ea61..9ea3a40307e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-10-30 Mark Mitchell + + * as.c (show_usage): Document "@FILE". + 2005-10-30 H.J. Lu * Makefile.am (OBJ_FORMATS): Remove vms. diff --git a/gas/as.c b/gas/as.c index 10e20e3995c..16711b1f819 100644 --- a/gas/as.c +++ b/gas/as.c @@ -346,6 +346,8 @@ Options:\n\ fprintf (stream, _("\ --listing-cont-lines set the maximum number of continuation lines used\n\ for the output data column of the listing\n")); + fprintf (stream, _("\ + @FILE read options from FILE\n")); md_show_usage (stream); diff --git a/gprof/ChangeLog b/gprof/ChangeLog index f6544de320a..d5a5f368deb 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,6 +1,6 @@ -2005-10-25 Alan Modra +2005-10-30 Mark Mitchell - * po/gprof.pot: Regenerate. + * gprof.c (usage): Document "@FILE". 2005-09-30 Nick Clifton diff --git a/gprof/gprof.c b/gprof/gprof.c index 2ac43408eee..dc6b618fdfd 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -167,7 +167,7 @@ Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n\ [--no-static] [--print-path] [--separate-files]\n\ [--static-call-graph] [--sum] [--table-length=len] [--traditional]\n\ [--version] [--width=n] [--ignore-non-functions]\n\ - [--demangle[=STYLE]] [--no-demangle]\n\ + [--demangle[=STYLE]] [--no-demangle] [@FILE]\n\ [image-file] [profile-file...]\n"), whoami); if (status == 0) diff --git a/ld/ChangeLog b/ld/ChangeLog index dce2bd1e34f..e8861458159 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2005-10-30 Mark Mitchell + + * lexsup.c (help): Document "@FILE". + 2005-10-30 H.J. Lu * Makefile.am: Run "make dep-am". diff --git a/ld/lexsup.c b/ld/lexsup.c index f5ee817c6df..c2bef1dd482 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -1442,6 +1442,7 @@ help (void) { unsigned i; const char **targets, **pp; + int len; printf (_("Usage: %s [options] file...\n"), program_name); @@ -1451,7 +1452,6 @@ help (void) if (ld_options[i].doc != NULL) { bfd_boolean comma; - int len; unsigned j; printf (" "); @@ -1524,6 +1524,10 @@ help (void) printf ("%s\n", _(ld_options[i].doc)); } } + printf (_(" @FILE")); + for (len = strlen (" @FILE"); len < 30; len++) + putchar (' '); + printf (_("Read options from FILE\n")); /* Note: Various tools (such as libtool) depend upon the format of the listings below - do not change them. */ -- 2.30.2