]> git.sur5r.net Git - cc65/commitdiff
Added -h option
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 8 Jul 2000 21:01:02 +0000 (21:01 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 8 Jul 2000 21:01:02 +0000 (21:01 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@137 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/main.c

index 21d6a613eb91c77680819f487ab786c0e09608a4..b754950c0af0521cb7a4e79fea551d9d3baf4d90 100644 (file)
@@ -73,6 +73,7 @@ static void Usage (void)
             "Usage: %s [options] file\n"
             "Short options:\n"
                     "  -g\t\t\tAdd debug info to object file\n"
+                    "  -h\t\t\tHelp (this text)\n"
                     "  -i\t\t\tIgnore case of symbols\n"
                     "  -l\t\t\tCreate a listing if assembly was ok\n"
                     "  -o name\t\tName the output file\n"
@@ -473,6 +474,10 @@ int main (int argc, char* argv [])
                            OptDebugInfo (Arg, 0);
                            break;
 
+               case 'h':
+                   OptHelp (Arg, 0);
+                   break;
+
                        case 'i':
                            OptIgnoreCase (Arg, 0);
                            break;