diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-04 03:16:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-04 03:16:26 (GMT) |
commit | 1f1a372856ff1efe9d1ea5333bb1e7f2f1d56281 (patch) | |
tree | 12e9924f6a2389a83784b01888632e101ea794c0 /options.c | |
parent | 354c66dec29bf626d1c088cf12cb9296e1d82619 (diff) |
options parse post with return code
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -181,11 +181,13 @@ int options_parse(options_t* opt, int argc, char* argv[]) return 0; } -void options_parse_post(options_t* opt) +int options_parse_post(options_t* opt) { if(!opt) - return; + return -1; // nothing to do + + return 0; } void options_default(options_t* opt) |