Exemplo n.º 1
0
		private static void Main (string[] args)
		{
			MDoc d = new MDoc ();
			try {
				d.Run (args);
			}
			catch (Exception e) {
				if (debug) {
					Console.Error.WriteLine ("mdoc: {0}", e.ToString ());
				}
				else {
					Console.Error.WriteLine ("mdoc: {0}", e.Message);
				}
				Console.Error.WriteLine ("See `mdoc help' for more information.");
			}
		}
Exemplo n.º 2
0
		private static void Main (string[] args)
		{
			MDoc d = new MDoc ();
			try {
				d.Run (args);
			}
			catch (Exception e) {
				if (debug) {
					Console.Error.WriteLine ("mdoc: {0}", e.ToString ());
				}
				else {
					Console.Error.WriteLine ("mdoc: {0}", e.Message);
				}
				Console.Error.WriteLine ("See `mdoc help' for more information or use --debug to diagnose.");
				Environment.ExitCode = 1;
			}
		}
Exemplo n.º 3
0
        private static void Main(string[] args)
        {
            MDoc d = new MDoc();

            try {
                d.Run(args);
            }
            catch (Exception e) {
                if (debug)
                {
                    Console.Error.WriteLine("mdoc: {0}", e.ToString());
                }
                else
                {
                    Console.Error.WriteLine("mdoc: {0}", e.Message);
                }
                Console.Error.WriteLine("See `mdoc help' for more information.");
            }
        }
Exemplo n.º 4
0
        private static void Main(string[] args)
        {
            MDoc d = new MDoc();

            try {
                d.Run(args);
            }
            catch (Exception e) {
                if (debug)
                {
                    Console.Error.WriteLine("mdoc: {0}", e.ToString());
                }
                else
                {
                    Console.Error.WriteLine("mdoc: {0}", e.Message);
                }
                Console.Error.WriteLine("See `mdoc help' for more information or use --debug to diagnose.");
                Environment.ExitCode = 1;
            }
        }
Exemplo n.º 5
0
		public MDocHelpCommand (MDoc instance)
		{
			this.instance = instance;
		}
Exemplo n.º 6
0
 public MDocHelpCommand(MDoc instance)
 {
     this.instance = instance;
 }