jlaska at redhat.com
Fri Apr 29 15:47:12 UTC 2011
On Fri, 2011-04-29 at 11:28 -0400, Neal Becker wrote:
> mkinitrd --help
> pk-command-not-found [OPTION...]
> PackageKit Command Not Found
> Help Options:
> -h, --help Show help options
That is PackageKit implementing the bash command_not_found_handle. For
details, take a look at ...
# rpm -qf /etc/profile.d/PackageKit.sh
Using the bash command_not_found_handle, PackageKit attempts to find a
package that provides that missing command. In your case, PackageKit.sh
is calling ...
/usr/libexec/pk-command-not-found mkinitrd --help
The --help you provided on the initial command-line, is interpreted by
pk-command-not-found ... so you see ...
PackageKit Command Not Found
-h, --help Show help options
Unless this is intended, I think it's worth a bug report against
PackageKit-command-not-found so it strips off any options, and only uses
the $1 provided (not the entire arg string $@).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110429/6654285b/attachment.bin
More information about the test