Browse Source

Make ISCC's and ISPPCC's usage look alike and also less wide.

Martijn Laan 11 years ago
parent
commit
eb8b9e6fad
2 changed files with 24 additions and 31 deletions
  1. 8 8
      Projects/ISCC.dpr
  2. 16 23
      Projects/ISPP/ISPPCC.dpr

+ 8 - 8
Projects/ISCC.dpr

@@ -261,14 +261,14 @@ procedure ProcessCommandLine;
   begin
     WriteStdErr('Usage:  iscc [options] scriptfile.iss');
     WriteStdErr('or to read from standard input:  iscc [options] -');
-    WriteStdErr('Options:  /O-            Disable output (overrides Output)');
-    WriteStdErr('          /O+            Enable output (overrides Output)');
-    WriteStdErr('          /Oc:\path      Output files to specified path (overrides OutputDir)');
-    WriteStdErr('          /Ffilename     Overrides OutputBaseFilename with the specified filename');
-    WriteStdErr('          /Sname=command Sets a SignTool with the specified name and command');
-    WriteStdErr('          /Q             Quiet compile (print error messages only)');
-    WriteStdErr('          /Qp            Enable quiet compile while still displaying progress');
-    WriteStdErr('          /?             Show this help screen');
+    WriteStdErr('Options:');
+    WriteStdErr('  /O(+|-)            Enable or disable output (overrides Output)');
+    WriteStdErr('  /O<path>           Output files to specified path (overrides OutputDir)');
+    WriteStdErr('  /F<filename>       Overrides OutputBaseFilename with the specified filename');
+    WriteStdErr('  /S<name>=<command> Sets a SignTool with the specified name and command');
+    WriteStdErr('  /Q                 Quiet compile (print error messages only)');
+    WriteStdErr('  /Qp                Enable quiet compile while still displaying progress');
+    WriteStdErr('  /?                 Show this help screen');
   end;
 
 var

+ 16 - 23
Projects/ISPP/ISPPCC.dpr

@@ -333,30 +333,23 @@ procedure Go;
   begin
     WriteStdErr('Usage:  iscc [options] scriptfile.iss');
     WriteStdErr('or to read from standard input:  iscc [options] -');
-    WriteStdErr('Options:  Emulate a #define or #pragma directive:');
-    WriteStdErr('            /d<name>[=<value>]   #define public <name> <value>');
-    WriteStdErr('            /$<letter>(+|-)      #pragma option -<letter>(+|-)');
-    WriteStdErr('            /p<letter>(+|-)      #pragma parseroption -<letter>(+|-)');
-    WriteStdErr('            /i<paths>            #pragma include <paths>');
-    WriteStdErr('            /{#<string>          #pragma inlinestart <string>');
-    WriteStdErr('            /}<string>           #pragma inlineend <string>');
-    WriteStdErr('            /v<number>           #pragma verboselevel <number>');
-    WriteStdErr('          Disable output (overrides Output):');
-    WriteStdErr('            /o-');
-    WriteStdErr('          Enable output (overrides Output):');
-    WriteStdErr('            /o+');
-    WriteStdErr('          Output files to specified path (overrides OutputDir):');
-    WriteStdErr('            /o<path>');
-    WriteStdErr('          Override OutputBaseFilename with the specified filename:');
-    WriteStdErr('            /f<filename>');
-    WriteStdErr('          Set a SignTool with the specified name and command:');
-    WriteStdErr('            /s<name>=<command>');
-    WriteStdErr('          Quiet compile (print error messages only):');
-    WriteStdErr('            /q');
-    WriteStdErr('          Enable quiet compile while still displaying progress:');
-    WriteStdErr('            /qp');
+    WriteStdErr('Options:');
+    WriteStdErr('  /O(+|-)            Enable or disable output (overrides Output)');
+    WriteStdErr('  /O<path>           Output files to specified path (overrides OutputDir)');
+    WriteStdErr('  /F<filename>       Overrides OutputBaseFilename with the specified filename');
+    WriteStdErr('  /S<name>=<command> Sets a SignTool with the specified name and command');
+    WriteStdErr('  /Q                 Quiet compile (print error messages only)');
+    WriteStdErr('  /Qp                Enable quiet compile while still displaying progress');
+    WriteStdErr('  /D<name>[=<value>] Emulate #define public <name> <value>');
+    WriteStdErr('  /$<letter>(+|-)    Emulate #pragma option -<letter>(+|-)');
+    WriteStdErr('  /P<letter>(+|-)    Emulate #pragma parseroption -<letter>(+|-)');
+    WriteStdErr('  /I<paths>          Emulate #pragma include <paths>');
+    WriteStdErr('  /{#<string>        Emulate #pragma inlinestart <string>');
+    WriteStdErr('  /}<string>         Emulate #pragma inlineend <string>');
+    WriteStdErr('  /V<number>         Emulate #pragma verboselevel <number>');
+    WriteStdErr('  /?                 Show this help screen');
     WriteStdErr('');
-    WriteStdErr('Example: iscc /$c- /pu+ "/dLic=Trial Lic.txt" /iC:\INC;D:\INC scriptfile.iss');
+    WriteStdErr('Example: iscc /$c- /Pu+ "/DLic=Trial Lic.txt" /IC:\INC;D:\INC scriptfile.iss');
   end;
 
 var