aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/conf.c b/conf.c
index 2fb58a7..13d3dc6 100644
--- a/conf.c
+++ b/conf.c
@@ -912,10 +912,6 @@ void conf(struct ctx *c, int argc, char **argv)
c->foreground = 1;
break;
- case '?':
- case 'h':
- usage(argv[0]);
- break;
case 's':
if (*c->sock_path) {
err("Multiple --socket options given");
@@ -1142,6 +1138,11 @@ void conf(struct ctx *c, int argc, char **argv)
usage(argv[0]);
break;
+ case '?':
+ case 'h':
+ default:
+ usage(argv[0]);
+ break;
}
} while (name != -1);