X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/9da43e7f4d027d916e6801c57a2763c45f66fb4c..8c35b7b5ecb4bdca110bd29adae7b5e47f141d3c:/examples/picoproj.c diff --git a/examples/picoproj.c b/examples/picoproj.c index 8341527..92dbfbf 100644 --- a/examples/picoproj.c +++ b/examples/picoproj.c @@ -168,7 +168,8 @@ int main(int argc, char *argv[]) } if (filename[0] == '\0') { - fprintf(stderr, "An image file MUST be specified.\n"); + fprintf(stderr, "An image file MUST be specified with the -f option.\n\n"); + usage(argv[0]); exit_code = EXIT_FAILURE; goto out; } @@ -264,7 +265,6 @@ int main(int argc, char *argv[]) goto cleanup; } - if ((unsigned int)width > device_info.native_width || (unsigned int)height > device_info.native_height) fprintf(stderr,