diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 99423b9ea..9df3e75cb 100644 --- a/src/main.c +++ b/src/main.c @@ -247,7 +247,7 @@ static void setdebug(const struct cmdinfo *cpi, const char *value) { m_output(stdout, _("<standard output>")); exit(0); } - + f_debug= strtoul(value,&endp,8); if (value == endp || *endp) badusage(_("--debug requires an octal argument")); } @@ -489,7 +489,7 @@ static const struct cmdinfo cmdinfos[]= { /* ACTION( "command-fd", 'c', act_commandfd, commandfd ), */ - + { "pre-invoke", 0, 1, NULL, NULL, set_invoke_hook, 0, &pre_invoke_hooks_tail }, { "post-invoke", 0, 1, NULL, NULL, set_invoke_hook, 0, &post_invoke_hooks_tail }, { "path-exclude", 0, 1, NULL, NULL, setfilter, 0 }, @@ -662,7 +662,6 @@ void commandfd(const char *const *argv) { } } - int main(int argc, const char *const *argv) { void (*actionfunction)(const char *const *argv); |