commit
c2755cbde9
11
awesome.c
11
awesome.c
|
@ -507,16 +507,12 @@ main(int argc, char **argv)
|
|||
run_test = true;
|
||||
break;
|
||||
case 'c':
|
||||
if(a_strlen(optarg))
|
||||
if (confpath != NULL)
|
||||
fatal("--config may only be specified once");
|
||||
confpath = a_strdup(optarg);
|
||||
else
|
||||
fatal("-c option requires a file name");
|
||||
break;
|
||||
case 's':
|
||||
if(a_strlen(optarg))
|
||||
string_array_append(&searchpath, a_strdup(optarg));
|
||||
else
|
||||
fatal("-s option requires a directory name");
|
||||
break;
|
||||
case 'a':
|
||||
no_argb = true;
|
||||
|
@ -524,6 +520,9 @@ main(int argc, char **argv)
|
|||
case 'r':
|
||||
replace_wm = true;
|
||||
break;
|
||||
default:
|
||||
exit_help(EXIT_FAILURE);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Get XDG basedir data */
|
||||
|
|
Loading…
Reference in New Issue