https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6939
--- Comment #15 from Karsten Bräckelmann <[email protected]> --- (In reply to Kip from comment #8) > Created attachment 5144 [details] > Suggested patch. The patch does not fix the issue. As-is, when invoked with the -U option without the required argument, spamc (a) reports the issue to STDERR, (b) dumps the Usage instructions to STDOUT, and (c) returns with exit code 64, EX_USAGE. It is not a SA bug, that the spamc calling process ignores all of that. In particular ignoring the exit code is a no-go. The calling process should have informed the user, without any need to go hunt in syslog files. (In reply to Kip from comment #12) > That's a good start, but it also addresses the ignored 'required_argument' > bit for -U in SA's getopt_long handling. $ spamc -U >> /dev/null; echo $? Error in argument 1, char 2: argument required for option U 64 The required_argument bit is not ignored. (In reply to Kip from comment #6) > > Oh, and your recent comment of "This is still driving me nuts. Any help > > appreciated." to the Ubuntu bug report [...] > > I wasn't talking about the bug. I was talking about you. The comment in question was added by you to launchpad issue #1178826 at 21:05 UTC. My first appearance comment 1 was at 21:59 UTC, 50 minutes later. -- You are receiving this mail because: You are the assignee for the bug.
