diff --git a/awesome.c b/awesome.c index 0f715967..16f5eed3 100644 --- a/awesome.c +++ b/awesome.c @@ -507,6 +507,8 @@ main(int argc, char **argv) run_test = true; break; case 'c': + if (confpath != NULL) + fatal("--config may only be specified once"); confpath = a_strdup(optarg); break; case 's':