diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2005-02-18 13:17:28 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2005-02-18 13:17:28 +0000 |
| commit | 1fa5a06bb8ef61eb1a736641138221b1dc16b49e (patch) | |
| tree | c94b1d4f8bd70c719594a1937c674e61274f2ad9 /main.c | |
| parent | f55620a931827ff666e910a7b1ce2b233738cf06 (diff) | |
| download | halibut-1fa5a06bb8ef61eb1a736641138221b1dc16b49e.zip halibut-1fa5a06bb8ef61eb1a736641138221b1dc16b49e.tar.gz halibut-1fa5a06bb8ef61eb1a736641138221b1dc16b49e.tar.bz2 halibut-1fa5a06bb8ef61eb1a736641138221b1dc16b49e.tar.xz | |
Add a `--list-charsets' option to Halibut to enumerate canonical names of known
character sets.
(Also make libcharset `return_in_enum' values saner.)
[originally from svn r5341]
[this svn revision also touched charset,filter,timber]
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -136,6 +136,9 @@ int main(int argc, char **argv) { !strcmp(opt, "-license")) { licence(); nogo = TRUE; + } else if (!strcmp(opt, "-list-charsets")) { + listcharsets(); + nogo = TRUE; } else if (!strcmp(opt, "-precise")) { reportcols = 1; } else { |