From 69c761d307d864085da4462ba336b599558761cd Mon Sep 17 00:00:00 2001 From: dwierenga Date: Fri, 15 Jul 2011 10:01:13 -0700 Subject: [PATCH 1/3] Edited src/manostool/Driver.cs via GitHub --- src/manostool/Driver.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/manostool/Driver.cs b/src/manostool/Driver.cs index 383e827f..0b3656e8 100644 --- a/src/manostool/Driver.cs +++ b/src/manostool/Driver.cs @@ -130,6 +130,7 @@ private static int Init (IList args) if (args.Count < 1) { Console.WriteLine ("manos --init "); Console.WriteLine ("This will initialize a new application with the supplied name."); + return 1; } Driver d = new Driver (); From 68362f965ed69456ed907d2d81a320dc37a93eb4 Mon Sep 17 00:00:00 2001 From: Dan Wierenga Date: Fri, 15 Jul 2011 10:12:21 -0700 Subject: [PATCH 2/3] Exit gracefully with the usage message if no AppName is given, rather than die with an intimidating stack trace. --- src/manostool/Driver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manostool/Driver.cs b/src/manostool/Driver.cs index 0b3656e8..0a8a6e54 100644 --- a/src/manostool/Driver.cs +++ b/src/manostool/Driver.cs @@ -130,7 +130,7 @@ private static int Init (IList args) if (args.Count < 1) { Console.WriteLine ("manos --init "); Console.WriteLine ("This will initialize a new application with the supplied name."); - return 1; + return 1; } Driver d = new Driver (); From b5c2223c68a964b54086a40c7517e071004a9175 Mon Sep 17 00:00:00 2001 From: Dan Wierenga Date: Fri, 15 Jul 2011 10:31:53 -0700 Subject: [PATCH 3/3] Fix the whitespace. --- src/manostool/Driver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manostool/Driver.cs b/src/manostool/Driver.cs index 0a8a6e54..74f34c40 100644 --- a/src/manostool/Driver.cs +++ b/src/manostool/Driver.cs @@ -130,7 +130,7 @@ private static int Init (IList args) if (args.Count < 1) { Console.WriteLine ("manos --init "); Console.WriteLine ("This will initialize a new application with the supplied name."); - return 1; + return 1; } Driver d = new Driver ();