X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/53490041359e79f228709707af34ea9c60750dcb..412512cc2c99762dd122f57a82cc174f414265e5:/src/lbximg.c diff --git a/src/lbximg.c b/src/lbximg.c index ca618ca..0a0057a 100644 --- a/src/lbximg.c +++ b/src/lbximg.c @@ -332,7 +332,7 @@ int main(int argc, char **argv) static const char sopts[] = "idnvF:f:p:O:VH"; static const struct option lopts[] = { - { "ident", 0, NULL, 'i' }, + { "identify", 0, NULL, 'i' }, { "decode", 0, NULL, 'd' }, { "verbose", 0, NULL, 'v' }, { "file", 1, NULL, 'f' }, @@ -433,6 +433,9 @@ int main(int argc, char **argv) } switch (mode) { + case MODE_IDENT: + rc = 0; + break; case MODE_DECODE: rc = decode(img, palf, overf, fmt, &argv[optind]); break;