diff options
author | Volodymyr Vasiutyk <volodymyr.vasiutyk@gmail.com> | 2021-10-06 10:45:07 +0300 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-10-31 15:07:00 +0100 |
commit | 2ef70ad7f692686710091132978129b614f6dd1a (patch) | |
tree | 448c24ac798a6ab5bc18ac37cd9517bddc9f3a73 /CommandLine.h | |
parent | 2977414d540c9cb78baa3d7fc612fcb4d6ecc72f (diff) |
Early program termination only from main()
Diffstat (limited to 'CommandLine.h')
-rw-r--r-- | CommandLine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CommandLine.h b/CommandLine.h index 99579f5d..fbdede84 100644 --- a/CommandLine.h +++ b/CommandLine.h @@ -8,6 +8,11 @@ Released under the GNU GPLv2+, see the COPYING file in the source distribution for its full text. */ +typedef enum { + STATUS_OK, + STATUS_ERROR_EXIT, + STATUS_OK_EXIT +} CommandLineStatus; int CommandLine_run(const char* name, int argc, char** argv); |