[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/texi2html ChangeLog texi2html.pl
From: |
Patrice Dumas |
Subject: |
texinfo/texi2html ChangeLog texi2html.pl |
Date: |
Sun, 20 Jun 2010 20:19:18 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 10/06/20 20:19:18
Modified files:
texi2html : ChangeLog texi2html.pl
Log message:
* texi2html.pl: set the command name to texi2any when it is not
a known command name (ie $0 or --program is not texi2html,
makeinfo or texi2any). Report from Karl.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/texi2html/ChangeLog?cvsroot=texinfo&r1=1.497&r2=1.498
http://cvs.savannah.gnu.org/viewcvs/texinfo/texi2html/texi2html.pl?cvsroot=texinfo&r1=1.382&r2=1.383
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/texi2html/ChangeLog,v
retrieving revision 1.497
retrieving revision 1.498
diff -u -b -r1.497 -r1.498
--- ChangeLog 12 Jun 2010 10:30:04 -0000 1.497
+++ ChangeLog 20 Jun 2010 20:19:17 -0000 1.498
@@ -1,3 +1,9 @@
+2010-06-20 Patrice Dumas <address@hidden>
+
+ * texi2html.pl: set the command name to texi2any when it is not
+ a known command name (ie $0 or --program is not texi2html,
+ makeinfo or texi2any). Report from Karl.
+
2010-06-12 Patrice Dumas <address@hidden>
* texi2html.init, texi2html.pl, formats/html.init: new output
Index: texi2html.pl
===================================================================
RCS file: /sources/texinfo/texinfo/texi2html/texi2html.pl,v
retrieving revision 1.382
retrieving revision 1.383
diff -u -b -r1.382 -r1.383
--- texi2html.pl 12 Jun 2010 10:30:10 -0000 1.382
+++ texi2html.pl 20 Jun 2010 20:19:17 -0000 1.383
@@ -91,7 +91,7 @@
}
# CVS version:
-# $Id: texi2html.pl,v 1.382 2010/06/12 10:30:10 pertusus Exp $
+# $Id: texi2html.pl,v 1.383 2010/06/20 20:19:17 pertusus Exp $
# Homepage:
my $T2H_HOMEPAGE = "http://www.nongnu.org/texi2html/";
@@ -218,7 +218,9 @@
my $program_name = shift;
if (!defined($command_format{$program_name}))
{
- die sprintf(__("%s: unknown program name: %s\n"), $real_command_name,
$program_name);
+ # user can make any link to set $0, or use --program with an unknown name.
+ # In that case the default is to use texi2any
+ $program_name = 'texi2any';
}
my $default_output_format = $command_format{$program_name};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/texi2html ChangeLog texi2html.pl,
Patrice Dumas <=