Reject passing an arg to an option that doesn't take one (bug 6915).
commitef67c238b56b6fa28d08850220957a3fbc7fa3cd
authorWayne Davison <wayned@samba.org>
Sat, 3 Jul 2010 15:27:38 +0000 (3 08:27 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 3 Jul 2010 15:27:38 +0000 (3 08:27 -0700)
tree969c4d51330a5330eff917156f113073e8566fe8
parent111599be2be2b1e77a0ca4483fba00d8cd35452d
Reject passing an arg to an option that doesn't take one (bug 6915).
Based on a patch by Matt, but further tweaked to deal with -q=foo.
popt/popt.c
popt/popt.h