Red Hat Bugzilla – Bug 70938
make rpm command line do error checking
Last modified: 2008-05-01 11:38:03 EDT
I wasted quite a bit of time finding out that
rpm --noscripts -e abisuite
does not work, but
rpm -e --noscripts abisuite
does what I expected.
If one argument (for example, --noscripts) cannot preceed another argument (for
example, -e) then an error message should be produced, it shouldn't just
silently ignore it.
Of course it SHOULD just do what I obviously meant, but I'm going to aim low and
just ask that you add *diagnostics* rather than fixing the whole braindead chain
of logic in the argument parser.
Whoever inflicted the rpm command-line on us should be skinned alive with a
Linux 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
I believe this is fixed in rpm-4.1 (hmmm, checking, yes).
You have no idea how much pain the rpm CLI has caused me.
I believe that most all the real weirdities have been addressed,
with the exception of better diagnostics for conflicting
and/or mutually exclusive options. However save your spoon
for someone else, it wasn't me who created all the options.