[pacman-dev] [PATCH 1/2] Add IgnoreGroup and --ignoregroup option.
Dan McGee
dpmcgee at gmail.com
Mon Nov 12 17:14:59 EST 2007
On Nov 12, 2007 4:03 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> On Nov 12, 2007 3:51 PM, Nathan Jones <nathanj at insightbb.com> wrote:
> > I forgot to add --ignoregroup to the --help message. The problem now is
> > that the command name is too long:
> >
> > -y, --refresh download fresh package databases from the server
> > --ignore <pkg> ignore a package upgrade (can be used more than once)
> > --ignoregroup <grp> ignore a group upgrade (can be used more than once)
> > --config <path> set an alternate configuration file
> > --logfile <path> set an alternate log file
> >
> > Shortening to --ignoregrp is still one letter too large. Maybe
> > --ignoregp? The current longest line is --print-uris which is 79
> > columns, so it is possible to add one more space between the command and
> > description.
> >
> > Any ideas?
>
> Break it up? Something like....
>
> > -y, --refresh download fresh package databases from the server
> > --ignore <pkg> ignore a package upgrade (can be used more than once)
> > --ignoregroup <grp>
> > ignore a group upgrade (can be used more than once)
> > --config <path> set an alternate configuration file
> > --logfile <path> set an alternate log file
Let's keep the command clear and not shorten it just for the sake of
the help message (we'd have i18n issues anyway- English tends to have
terse descriptions). Just make it wrap lines BUT do it all in the same
printf using \n and stuff.
-Dan
More information about the pacman-dev
mailing list