modinfo: fix --field
commit2b146d49b1b0dd2c9492a47f524206afa64c53f7
authorAlan Jenkins <alan@alan-eeepc.jenkins>
Fri, 20 Feb 2009 17:14:46 +0000 (20 17:14 +0000)
committerAlan Jenkins <alan@alan-eeepc.jenkins>
Fri, 20 Feb 2009 17:14:46 +0000 (20 17:14 +0000)
tree5584cb41bac81b3470f9f3a4ea4a4b72b04e37e3
parent2d4625ce8a57f7c6e162e4a33fa0627c9821808e
modinfo: fix --field

"--field" is supposed to be the long version of "-F".
"-F" requires an option.  So we need to set "has_arg"
in the struct option for "--field".

<https://bugzilla.redhat.com/show_bug.cgi?id=447280>

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
modinfo.c