diff options
author | albert-github <albert.tests@gmail.com> | 2013-09-15 17:50:40 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2013-09-15 17:50:40 (GMT) |
commit | b0572abe0c3e8dc47551638da45b31ee37153ea6 (patch) | |
tree | f457563c309ca1b414aae64a9045f9db993a0c5b /src/debug.h | |
parent | 6dbc429a78966233c02b339193c5bb642d281df0 (diff) | |
download | Doxygen-b0572abe0c3e8dc47551638da45b31ee37153ea6.zip Doxygen-b0572abe0c3e8dc47551638da45b31ee37153ea6.tar.gz Doxygen-b0572abe0c3e8dc47551638da45b31ee37153ea6.tar.bz2 |
Usage of the -d opion corrected
Giving an error when a wrong -d option is given.
Made some error mesages more consistent.
Corrected usage of the exit call, in case of an error: exit(1) otherwise exit(0).
A closer look should be made on exitDoxygen as it does not contain any exit statements and it is unclear (to me) when it is used.
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h index bcac588..0893278 100644 --- a/src/debug.h +++ b/src/debug.h @@ -39,7 +39,7 @@ class Debug FilterOutput = 0x00001000 }; static void print(DebugMask mask,int prio,const char *fmt,...); - static void setFlag(const char *label); + static int setFlag(const char *label); static void clearFlag(const char *label); static bool isFlagSet(DebugMask mask); static void setPriority(int p); |