[Yum-devel] [PATCH] yum help and --help cleanup
seth vidal
skvidal at fedoraproject.org
Fri Jan 25 06:14:12 UTC 2008
On Thu, 2008-01-24 at 19:32 -0500, James Bowes wrote:
> Hi all:
>
> Attached are two patches, the first implements the 'help' subcommand, so
> you can do:
>
> $> yum help install
> install PACKAGE...
>
> Install a package or packages on your system
> $>
>
> The second uses these help strings to format --help a little better (IMO
> at least).
>
> I wrote up some summaries for all the commands, but it would also be
> nice to have some longer help messages, probably with a getHelp() method
> on YumCommand.
>
> What do people think?
As I said on irc, I think this looks pretty good. Also nice if it is
available easily to the yum shell. James A's issue with plugins which
registercommands is warranted but I think we can probably work that out.
When you're happy with it, check it in. It's clever.
-sv
More information about the Yum-devel
mailing list