set-resolution: should bail with bad arguments
This commit is contained in:
parent
d8c8b2cc98
commit
d510c1375d
@ -23,6 +23,7 @@
|
|||||||
int main(int argc, char * argv[]) {
|
int main(int argc, char * argv[]) {
|
||||||
if (argc < 3) {
|
if (argc < 3) {
|
||||||
fprintf(stderr, "Usage: %s [--initialize DRIVER] WIDTH HEIGHT\n", argv[0]);
|
fprintf(stderr, "Usage: %s [--initialize DRIVER] WIDTH HEIGHT\n", argv[0]);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Open framebuffer */
|
/* Open framebuffer */
|
||||||
|
Loading…
Reference in New Issue
Block a user