diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2005-02-17 19:00:48 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2005-02-17 19:00:48 +0000 |
| commit | 45dd6bf764064c3b2a9f087d8206179f514638ac (patch) | |
| tree | 48031c7b55380daef6591727dbd0843af77ee844 /help.c | |
| parent | 4a48e5878f2ededa8bc33e620e26489bf911c5cb (diff) | |
| download | halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.zip halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.tar.gz halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.tar.bz2 halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.tar.xz | |
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]
Diffstat (limited to 'help.c')
| -rw-r--r-- | help.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 }; |