From: cuz Date: Tue, 2 Oct 2001 19:01:00 +0000 (+0000) Subject: Reordered usage output X-Git-Tag: V2.12.0~2587 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a497075f7877671b91b8615c56a2a8de7db2c5a1;p=cc65 Reordered usage output git-svn-id: svn://svn.cc65.org/cc65/trunk@1002 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/main.c b/src/ca65/main.c index 851078c7b..74af2a0a6 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 1998-2000 Ullrich von Bassewitz */ +/* (C) 1998-2001 Ullrich von Bassewitz */ /* Wacholderweg 14 */ /* D-70597 Stuttgart */ /* EMail: uz@musoftware.de */ @@ -82,6 +82,11 @@ static void Usage (void) fprintf (stderr, "Usage: %s [options] file\n" "Short options:\n" + " -D name[=value]\tDefine a symbol\n" + " -I dir\t\tSet an include directory search path\n" + " -U\t\t\tMark unresolved symbols as import\n" + " -V\t\t\tPrint the assembler version\n" + " -W n\t\t\tSet warning level n\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" @@ -90,11 +95,6 @@ static void Usage (void) " -s\t\t\tEnable smart mode\n" " -t sys\t\tSet the target system\n" " -v\t\t\tIncrease verbosity\n" - " -D name[=value]\tDefine a symbol\n" - " -I dir\t\tSet an include directory search path\n" - " -U\t\t\tMark unresolved symbols as import\n" - " -V\t\t\tPrint the assembler version\n" - " -W n\t\t\tSet warning level n\n" "\n" "Long options:\n" " --auto-import\t\tMark unresolved symbols as import\n" diff --git a/src/cl65/main.c b/src/cl65/main.c index ff1bb9c8b..eeb75dfad 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -534,6 +534,16 @@ static void Usage (void) fprintf (stderr, "Usage: %s [options] file\n" "Short options:\n" + " -c\t\t\tCompiler and assemble but don't link\n" + " -d\t\t\tDebug mode\n" + " -g\t\t\tAdd debug info\n" + " -h\t\t\tHelp (this text)\n" + " -l\t\t\tCreate an assembler listing\n" + " -m name\t\tCreate a map file\n" + " -o name\t\tName the output file\n" + " -t sys\t\tSet the target system\n" + " -v\t\t\tVerbose mode\n" + " -vm\t\t\tVerbose map file\n" " -A\t\t\tStrict ANSI mode\n" " -C name\t\tUse linker config file\n" " -Cl\t\t\tMake local variables static\n" @@ -548,16 +558,6 @@ static void Usage (void) " -T\t\t\tInclude source as comment\n" " -V\t\t\tPrint the version number\n" " -W\t\t\tSuppress warnings\n" - " -c\t\t\tCompiler and assemble but don't link\n" - " -d\t\t\tDebug mode\n" - " -g\t\t\tAdd debug info\n" - " -h\t\t\tHelp (this text)\n" - " -l\t\t\tCreate an assembler listing\n" - " -m name\t\tCreate a map file\n" - " -o name\t\tName the output file\n" - " -t sys\t\tSet the target system\n" - " -v\t\t\tVerbose mode\n" - " -vm\t\t\tVerbose map file\n" "\n" "Long options:\n" " --add-source\t\tInclude source as comment\n" diff --git a/src/ld65/main.c b/src/ld65/main.c index d765e79b6..4480843ff 100644 --- a/src/ld65/main.c +++ b/src/ld65/main.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 1998-2000 Ullrich von Bassewitz */ +/* (C) 1998-2001 Ullrich von Bassewitz */ /* Wacholderweg 14 */ /* D-70597 Stuttgart */ /* EMail: uz@musoftware.de */ @@ -89,17 +89,17 @@ static void Usage (void) fprintf (stderr, "Usage: %s [options] module ...\n" "Short options:\n" + " -C name\t\tUse linker config file\n" + " -Ln name\t\tCreate a VICE label file\n" + " -Lp\t\t\tMark write protected segments as such (VICE)\n" + " -S addr\t\tSet the default start address\n" + " -V\t\t\tPrint the linker version\n" " -h\t\t\tHelp (this text)\n" " -m name\t\tCreate a map file\n" " -o name\t\tName the default output file\n" " -t sys\t\tSet the target system\n" " -v\t\t\tVerbose mode\n" " -vm\t\t\tVerbose map file\n" - " -C name\t\tUse linker config file\n" - " -Ln name\t\tCreate a VICE label file\n" - " -Lp\t\t\tMark write protected segments as such (VICE)\n" - " -S addr\t\tSet the default start address\n" - " -V\t\t\tPrint the linker version\n" "\n" "Long options:\n" " --help\t\tHelp (this text)\n" @@ -234,7 +234,7 @@ static void OptDbgFile (const char* Opt attribute ((unused)), const char* Arg) -static void OptHelp (const char* Opt attribute ((unused)), +static void OptHelp (const char* Opt attribute ((unused)), const char* Arg attribute ((unused))) /* Print usage information and exit */ { @@ -281,7 +281,7 @@ static void OptTarget (const char* Opt attribute ((unused)), const char* Arg) -static void OptVersion (const char* Opt attribute ((unused)), +static void OptVersion (const char* Opt attribute ((unused)), const char* Arg attribute ((unused))) /* Print the assembler version */ { @@ -308,7 +308,7 @@ int main (int argc, char* argv []) unsigned I; - /* Initialize the cmdline module */ + /* Initialize the cmdline module */ InitCmdLine (&argc, &argv, "ld65"); /* Evaluate the CC65_LIB environment variable */