aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-10-03 19:37:44 +0000
committerMark Mitchell <mark@codesourcery.com>2005-10-03 19:37:44 +0000
commit07012eeef27d34424bd51d1ee54bbeb09841fe1f (patch)
treed1329567c0cb3d3c536708a969572cd42968159a /binutils/doc
parentcac3d6c4122a17ef46e1a4f4ee383ffaadd93573 (diff)
downloadgdb-07012eeef27d34424bd51d1ee54bbeb09841fe1f.zip
gdb-07012eeef27d34424bd51d1ee54bbeb09841fe1f.tar.gz
gdb-07012eeef27d34424bd51d1ee54bbeb09841fe1f.tar.bz2
* addr2line.c (usage): Document @file.
* ar.c (usage): Likewise. * coffdump (usage): Likewise. * cxxfilt.c (usage): Likewise. * dlltool.c (usage): Likewise. * dllwrap.c (usage): Likewise. * nlmconv.c (usage): Likewise. * nm.c (usage): Likewise. * objcopy.c (usage): Likewise. * objdump.c (usage): Likewise. * readelf.c (usage): Likewise. * size.c (usage): Likeise. * srconv.c (usage): Likewise. * strings.c (usage): Likewise. * windres.c (usage): Likewise. * doc/binutils.texi: Add section on common options.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi30
1 files changed, 30 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 313a878..8c8e5dc 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -166,6 +166,7 @@ section entitled "GNU Free Documentation License".
* nlmconv:: Converts object code into an NLM
* windres:: Manipulate Windows resources
* dlltool:: Create files needed to build and use DLLs
+* Common Options:: Command-line options for all utilities
* Selecting The Target System:: How these utilities determine the target.
* Reporting Bugs:: Reporting Bugs
* GNU Free Documentation License:: GNU Free Documentation License
@@ -3434,6 +3435,35 @@ objdump(1), and the Info entries for @file{binutils}.
@c man end
@end ignore
+@node Common Options
+@chapter Common Options
+
+The following command-line options are supported by all of the
+programs described in this manual.
+
+@table @env
+@item @@@var{file}
+Read command-line options from @var{file}. The options read are
+inserted in place of the original @@@var{file} option. If @var{file}
+does not exist, or cannot be read, then the option will be treated
+literally, and not removed.
+
+Options in @var{file} are separated by whitespace. A whitespace
+character may be included in an option by surrounding the entire
+option in either single or double quotes. Any character (including a
+backslash) may be included by prefixing the character to be included
+character with a backslash. The @var{file} may itself contain
+additional @@@var{file} options; any such options will be processed
+recursively.
+
+@item --help
+Display the command-line options supported by the program.
+
+@item --version
+Display the version number of the program.
+
+@end table
+
@node Selecting The Target System
@chapter Selecting the Target System