Hide Forgot
By default dnf history userinstalled lists information like "Packages installed by user" which is not wanted for use in scripts. With --quiet option only packages should be listed.
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
I'm working on support for --userinstalled for repoquery command (RhBug:1278124) https://bugzilla.redhat.com/show_bug.cgi?id=1278124 The repoquery command is prefered in scripts. It has better capability to formating output, it doesn't need root privileges and so on.