programs/winedbg: return 0 if --help is specified
Austin English
austinenglish at gmail.com
Wed Jun 24 21:35:21 CDT 2009
Setting up an appinstall test to test all our builtin programs.
returning -1 makes this harder ;-).
--
-Austin
-------------- next part --------------
diff --git a/programs/winedbg/winedbg.c b/programs/winedbg/winedbg.c
index a75e548..5584148 100644
--- a/programs/winedbg/winedbg.c
+++ b/programs/winedbg/winedbg.c
@@ -587,7 +587,7 @@ static int dbg_winedbg_usage(BOOL advanced)
}
else
dbg_printf("Usage:\n\twinedbg [ [ --gdb ] [ prog-name [ prog-args ] | <num> | file.mdmp | --help ]\n");
- return -1;
+ return 0;
}
void dbg_start_interactive(HANDLE hFile)
More information about the wine-patches
mailing list