Author: miguel
Date: 2007-05-05 12:23:29 -0400 (Sat, 05 May 2007)
New Revision: 76748

Modified:
   trunk/mcs/tools/monop/options.cs
Log:
Improve the message display

Modified: trunk/mcs/tools/monop/options.cs
===================================================================
--- trunk/mcs/tools/monop/options.cs    2007-05-05 16:23:07 UTC (rev 76747)
+++ trunk/mcs/tools/monop/options.cs    2007-05-05 16:23:29 UTC (rev 76748)
@@ -45,7 +45,7 @@
        internal bool ProcessArgs (string[] args)
        {
                if (args.Length < 1) {
-                       PrintUsage ();
+                       PrintHelp ();
                        return false;
                }
 
@@ -119,14 +119,9 @@
                Console.WriteLine ("runtime version: {0}", Environment.Version);
        }
 
-       void PrintUsage ()
-       {
-               Console.WriteLine ("Usage is: monop [option] [-c] [-r:Assembly] 
[class-name]");
-       }
-
        void PrintHelp ()
        {
-               PrintUsage ();
+               Console.WriteLine ("Usage is: monop [option] [-c] [-r:Assembly] 
[class-name]");
                Console.WriteLine ("");
                Console.WriteLine ("options:");
                Console.WriteLine ("\t--declared-only,-d\tOnly show members 
declared in the Type");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to