Merge lp:~manishsinha/wadlsharp/fix-645173 into lp:wadlsharp

Status: Merged
Merged at revision: 19
Proposed branch: lp:~manishsinha/wadlsharp/fix-645173
Merge into: lp:wadlsharp
Diff against target: 28 lines (+3/-3)
1 file modified
WadlConsole/Program.cs (+3/-3)
To merge this branch: bzr merge lp:~manishsinha/wadlsharp/fix-645173
Reviewer Review Type Date Requested Status
Manish Sinha (मनीष सिन्हा) Approve
Review via email: mp+36897@code.launchpad.net

Commit message

When an exception is raised or an error occours, then return a non-zero value

Description of the change

When an exception is raised or an error occours, then return a non-zero value

To post a comment you must log in.
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'WadlConsole/Program.cs'
2--- WadlConsole/Program.cs 2010-09-23 13:48:38 +0000
3+++ WadlConsole/Program.cs 2010-09-28 17:29:13 +0000
4@@ -142,13 +142,13 @@
5 Console.Write ("wadl-sharp: ");
6 Console.WriteLine (e.Message);
7 Console.WriteLine (Resources.TryHelp);
8- return;
9+ Environment.Exit(1);
10 }
11
12 if(help)
13 {
14 ShowHelp(options);
15- return;
16+ Environment.Exit(1);
17 }
18
19 if(!isFile)
20@@ -170,7 +170,7 @@
21 Console.Write("wadl-sharp: ");
22 Console.WriteLine(e.Message);
23 Console.WriteLine(Resources.TryHelp);
24- return;
25+ Environment.Exit(1);
26 }
27
28 // if we did recive an output file it means that the user wanted all the code

Subscribers

People subscribed via source and target branches