Here's something that was recently fixed for the popt that is included with rsync: rejecting an arg to an option that doesn't take an arg. Attached is a patch. A new error code, POPT_ERROR_UNWANTEDARG, was created to make the error message nice. This handles both -l=value and --long-arg=value where neither one is supposed to take a value. ..wayne..