[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoupdate --version/--help
From: |
Lars J. Aas |
Subject: |
autoupdate --version/--help |
Date: |
Mon, 9 Apr 2001 20:40:05 +0200 |
User-agent: |
Mutt/1.2.5i |
2001-04-09 Lars J. Aas <address@hidden>
* autoupdate.in (print_usage): print "\ at end of line does not
work as expected, so change block to here-doc instead.
(print_version): Same.
Index: autoupdate.in
===================================================================
RCS file: /cvs/autoconf/autoupdate.in,v
retrieving revision 1.10
diff -u -r1.10 autoupdate.in
--- autoupdate.in 2001/03/13 18:15:58 1.10
+++ autoupdate.in 2001/04/09 18:36:39
@@ -101,7 +101,7 @@
# Display usage (--help).
sub print_usage ()
{
- print "\
+ print <<"END";
Usage: $0 [OPTION] ... [TEMPLATE-FILE...]
Update the TEMPLATE-FILE... if given, or \`configure.ac' if present,
@@ -123,7 +123,7 @@
AUTOCONF autoconf @VERSION@
Report bugs to <address@hidden>.
-";
+END
exit 0;
}
@@ -133,14 +133,14 @@
# Display version (--version).
sub print_version
{
- print "\
+ print <<END;
autoupdate (@PACKAGE_NAME@) @VERSION@
Written by David J. MacKenzie and Akim Demaille.
Copyright 1994, 1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-";
+END
exit 0;
}
- autoupdate --version/--help,
Lars J. Aas <=