From: cuz Date: Sat, 8 Jul 2000 21:01:02 +0000 (+0000) Subject: Added -h option X-Git-Tag: V2.12.0~3376 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f4da40d6d3f6c94f126eb0defc618bd89ece3c6;p=cc65 Added -h option git-svn-id: svn://svn.cc65.org/cc65/trunk@137 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/main.c b/src/ca65/main.c index 21d6a613e..b754950c0 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -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;