Handle windowtype and CHOOSE config errors

This commit is contained in:
Pasi Kallinen
2017-09-09 13:50:34 +03:00
parent 87f991ecfc
commit cfb09c9bf8
5 changed files with 16 additions and 6 deletions

View File

@@ -405,7 +405,9 @@ char *argv[];
}
break;
case 'w': /* windowtype */
config_error_init(FALSE, "command line");
choose_windows(&argv[0][2]);
config_error_done();
break;
case '@':
flags.randomall = 1;