summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-02-05 19:22:46 +0100
committerBardur Arantsson <bardur@scientician.net>2016-02-05 19:22:46 +0100
commitf37c4865eaaa266c5c2857ff3fbdb4efecdbe77f (patch)
treef0a3b8a20e036ddcbcbd39f16dd4b04f22e2f40c /src/main.c
parent372e4083c524f176a790655870464c650f4213aa (diff)
Remove '-H' command line switch
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/main.c b/src/main.c
index f6379624..15b2966e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -183,26 +183,6 @@ int main(int argc, char *argv[])
break;
}
- case 'H':
- {
- char *s;
- int j;
-
- init_lua_init();
-
- for (j = i + 1; j < argc; j++)
- {
- s = argv[j];
-
- while (*s != '.') s++;
- *s = '\0';
- s++;
- txt_to_html("head.aux", "foot.aux", argv[j], s, FALSE, FALSE);
- }
-
- return 0;
- }
-
case '-':
{
if (argv[i][2] == 'h' && !strcmp((argv[i] + 2), "help"))
@@ -230,7 +210,6 @@ usage:
puts(" -w Request wizard mode");
puts(" -o Request original keyset");
puts(" -r Request rogue-like keyset");
- puts(" -H <list of files> Convert helpfile to html");
puts(" -u<who> Use your <who> savefile");
puts(" -M<which> Use the <which> module");
puts(" -m<sys> Force 'main-<sys>.c' usage");