[pacman-dev] [PATCH 1/2] Add IgnoreGroup and --ignoregroup option.
This will be used in the next commit.
Signed-off-by: Nathan Jones
This option acts as if IgnorePkg was set on each package in the group.
This closes FS#1592.
Signed-off-by: Nathan Jones
I like this.
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?
On Nov 12, 2007 3:51 PM, Nathan Jones
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
/me shrugs
On Nov 12, 2007 4:03 PM, Aaron Griffin
On Nov 12, 2007 3:51 PM, Nathan Jones
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
Idézés Dan McGee
On Nov 12, 2007 3:51 PM, Nathan Jones
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
On Nov 12, 2007 4:03 PM, Aaron Griffin
wrote: than once) --config <path> set an alternate configuration file --logfile <path> set an alternate log file
(we'd have i18n issues anyway- English tends to have terse descriptions). +1 I would prefer --ignoregrp, --ignoregroup, --ignoregrp
or --ignoregrp <gp>, and then mention or <gp> in the description. Bye, ngaba
---------------------------------------------------- SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu This mail sent through IMP: http://horde.org/imp/
Signed-off-by: Nathan Jones
participants (4)
-
Aaron Griffin
-
Dan McGee
-
Nagy Gabor
-
Nathan Jones