Reject passing an arg to an option that doesn't take one (bug 6915).
authorWayne Davison <wayned@samba.org>
Sat, 24 Apr 2010 17:00:38 +0000 (10:00 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 24 Apr 2010 17:00:38 +0000 (10:00 -0700)
commit25082d1ef6712a15c52a1dacb36b7f0642c23ac8
tree701ee53f4ee4a7eba01bdb7da5651727fb8e772a
parent5deb19e4ea1c04cac93f39d60a3a8f891a6fff74
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.

Ultimately this should be upstreamed, but for now lets get this
functionality into rsync.
popt/popt.c
popt/popt.h