]> git.draconx.ca Git - liblbx.git/commitdiff
lbximg: Allow --identify as a long option.
authorNick Bowler <nbowler@draconx.ca>
Wed, 19 Jun 2013 00:45:04 +0000 (20:45 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 19 Jun 2013 01:21:35 +0000 (21:21 -0400)
There is no reason to not have a full word here.  The getopt_long
function allows abbreviations anyway, so --ident remains perfectly
fine as an option.

src/lbximg.c

index e4eb461e5d7d5189317caea584071cd722059912..0a0057a9fedf038846587c33a591bf8ba05f8853 100644 (file)
@@ -332,7 +332,7 @@ int main(int argc, char **argv)
 
        static const char sopts[] = "idnvF:f:p:O:VH";
        static const struct option lopts[] = {
 
        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' },
                { "decode",     0, NULL, 'd' },
                { "verbose",    0, NULL, 'v' },
                { "file",       1, NULL, 'f' },