]> git.sur5r.net Git - cc65/commitdiff
Added handling for -h command line parameter
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 18 Oct 2000 07:29:40 +0000 (07:29 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 18 Oct 2000 07:29:40 +0000 (07:29 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@378 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/main.c

index 3c4c5572bbca4cc8ea6c5251d0001977112b4a72..63ab842a493f7bff7e50dba80fcee314f00dd085 100644 (file)
@@ -327,6 +327,11 @@ int main (int argc, char* argv [])
                    LongOption (&I, OptTab, sizeof(OptTab)/sizeof(OptTab[0]));
                    break;
 
+               case 'h':
+               case '?':
+                   OptHelp (Arg, 0);
+                   break;
+
                case 'm':
                    OptMapFile (Arg, GetArg (&I, 2));
                    break;