The smart utility's output leaves something to be desired. For example: * smart doesn't seem to produce an error on invalid use of commands e.g. smart config name=value (should be smart config --set name=value in this case) * --log-level=debug doesn't seem to actually print any additional information * Blank lines seem to be printed a lot when ideally the output would be a bit more compact This is a little open-ended and probably will involve some cooperation with upstream. We can sit down and document more of the undesirable reporting situations first if needed. (This is less important than the rest of the smart work however and should not hold that back.)
I uploaded a patch that addresses the first of the issues mentioned by Paul. The second one needs a bit of discussion. What kind of additional information would be needed in this case? I don't want to add too much information in the output.
Swithing to NEEDINFO (see my previous question).
It's hard to specify exactly what should be in the debug output, but a very good start would be to ensure RPM's own debugging output gets printed when --log-level=debug is specified.
Bogdan, Please see Paul's last comments
The general consensus seems to be that this bug is already fixed and additional bugs should be opened for more improvements in the areas of error reporting/improved debug information, so I'm going to close this one.
Verified on master branch. Commit ID: a317cc911abe33d0f513d48e7bc4afd319c7e040