From 45dd6bf764064c3b2a9f087d8206179f514638ac Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Thu, 17 Feb 2005 19:00:48 +0000 Subject: Changes/additions to input character set handling: - After discussion with Simon, change the default input charset back to ASCII, rather than trying to work it out from the locale, for the sake of promoting .but file portability. - Add a new command-line option "--input-charset=csname", which overrides the ASCII default for all input files (since there's no other way to use a non-ASCII-compatible input file). - Output a warning if -Cinput-charset:foo is specified that it has no effect. - Update the docs to match all this. Also try to clarify some other things in this area that caught me out. [originally from svn r5332] --- help.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'help.c') diff --git a/help.c b/help.c index 8104006..7235032 100644 --- a/help.c +++ b/help.c @@ -15,6 +15,7 @@ static char *helptext[] = { " --ps[=filename] generate PostScript output", " --pdf[=filename] generate PDF output", " -Cfoo:bar:baz append \\cfg{foo}{bar}{baz} to input", + " --input-charset=cs change default input file charset", " --precise report column numbers in error messages", " --help display this text", " --version display version number", @@ -23,7 +24,7 @@ static char *helptext[] = { }; static char *usagetext[] = { - "usage: halibut [--format[=filename]] [-Cconfig...] file.but [file.but...]", + "usage: halibut [--format[=filename]] [options] file.but [file.but...]", NULL }; -- cgit v1.1