]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/libtool.texi (Invoking libtool): Updated.
authorGary V. Vaughan <gary@gnu.org>
Tue, 7 Oct 2003 14:51:06 +0000 (14:51 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 7 Oct 2003 14:51:06 +0000 (14:51 +0000)
* ltmain.in: Add missing clean and finish modes to the shorthand
options.

ChangeLog
doc/libtool.texi
ltmain.in

index 010182d278933f6aa0b3aa7d6242fa42c0c75856..894ceb6ef926300a5fcc8e56a75a1c07106d0704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2003-10-07  Gary V. Vaughan  <gary@gnu.org>
 
+       * doc/libtool.texi (Invoking libtool): Updated.
+       * ltmain.in: Add missing clean and finish modes to the shorthand
+       options.
+
        * ltmain.in: Typo in the --mode shorthand.
 
 2003-10-07  Scott James Remnant  <scott@netsplit.com>
index ee7308714f3e06901e689a0c3a6f511afb62145d..f0aa0d32855f4cc1980e3e31233558ed0c00b94a 100644 (file)
@@ -24,7 +24,7 @@
 @ifnottex
 This file documents GNU Libtool @value{VERSION}
 
-Copyright (C) 1996-2000 Free Software Foundation, Inc.
+Copyright (C) 1996-2003 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.1
@@ -51,7 +51,7 @@ identical to this one except for the removal of this paragraph
 
 @page
 @vskip 0pt plus 1filll
-Copyright @copyright{} 1996-2000 Free Software Foundation, Inc.
+Copyright @copyright{} 1996-2003 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.1
@@ -1081,11 +1081,10 @@ specified, then detailed help for @var{mode} is
 displayed.
 
 @item --mode=@var{mode}
-Use @var{mode} as the operation mode.  If not specified, an attempt is
-made to inferr the operation mode from the @var{mode-args}.  Not specifying
-the @var{mode} is currently deprecated, as there are too many situations
-where it is not possible to guess.  Future versions of Libtool will require
-that @var{mode} be explicity set.
+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
+@samp{--mode=@var{mode}}.
 
 @var{mode} must be set to one of the following:
 
index 1d2851d9c0ca1319be9e24ac75a31c1a7dc6d99f..c2d1a2191725c65ca3ef4e0ff012b2cdde91c4d4 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -160,12 +160,18 @@ win32_libid () {
 
 # Shorthand for --mode=foo
 case $1 in
+clean|clea|cle|cl)
+  shift; set -- --mode=clean ${1+"$@"}
+  ;;
 compile|compil|compi|comp|com|co|c)
   shift; set -- --mode=compile ${1+"$@"}
   ;;
 execute|execut|execu|exec|exe|ex|e)
   shift; set -- --mode=execute ${1+"$@"}
   ;;
+finish|finis|fini|fin|fi|f)
+  shift; set -- --mode=finish ${1+"$@"}
+  ;;
 install|instal|insta|inst|ins|in|i)
   shift; set -- --mode=install ${1+"$@"}
   ;;