]> git.sur5r.net Git - cc65/commitdiff
Reordered usage output
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Oct 2001 19:01:00 +0000 (19:01 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Oct 2001 19:01:00 +0000 (19:01 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1002 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/main.c
src/cl65/main.c
src/ld65/main.c

index 851078c7b576b712a734060d0ffad37c068ec493..74af2a0a658ed36123146b655406ce795b5e8599 100644 (file)
@@ -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"
index ff1bb9c8b3dfadad5c63d3576b0861763132f74a..eeb75dfad23beb4157e99102c1a379a9b36dcd91 100644 (file)
@@ -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"
index d765e79b69a0c17344b1d2a950c62bb1f4fd5ee9..4480843ff30bfe88cadee83e3093bdb762ed0b58 100644 (file)
@@ -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 */