set-resolution: should bail with bad arguments

This commit is contained in:
K. Lange 2018-11-02 09:07:58 +09:00
parent d8c8b2cc98
commit d510c1375d

View File

@ -23,6 +23,7 @@
int main(int argc, char * argv[]) {
if (argc < 3) {
fprintf(stderr, "Usage: %s [--initialize DRIVER] WIDTH HEIGHT\n", argv[0]);
return 1;
}
/* Open framebuffer */