diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-01-29 19:54:31 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-01-29 19:55:19 +0100 |
commit | b93a3db892cb3203ec5cfe10cb673999b13e13d2 (patch) | |
tree | 1d4bdf017f0bcde8713b5a3cc3866497dc610094 /doc | |
parent | 18c603141ee49f71c49c0e54f9f831316c023b91 (diff) | |
download | libtool-b93a3db892cb3203ec5cfe10cb673999b13e13d2.tar.gz |
Document --mode short-hands better, and test them.
* doc/libtool.texi (Invoking libtool): Give examples for using
the `--mode=MODE' short-hand `MODE', or abbreviations thereof.
* libltdl/config/ltmain.m4sh: Mention the short-hand for MODE
in the --help output.
* tests/help.at (mode short-hands): New test group.
Suggestion by Bruno Haible.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libtool.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/libtool.texi b/doc/libtool.texi index c3a29063..02340d92 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1161,8 +1161,16 @@ operation mode, and exit. Use @var{mode} as the operation mode. When using libtool from the command line, you can give just @var{mode} (or a unique abbreviation of it) as the first argument as a shorthand for the full -@option{--mode=@var{mode}}. +@option{--mode=@var{mode}}. For example, the following are equivalent: +@example +$ @kbd{libtool --mode=execute --dry-run gdb prog.exe} +$ @kbd{libtool execute --dry-run gdb prog.exe} +$ @kbd{libtool exe --dry-run gdb prog.exe} +$ @kbd{libtool e --dry-run gdb prog.exe} +@end example + +@noindent @var{mode} must be set to one of the following: @table @option |