This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch master in repository game-data-packager.
commit 861e3b0faf01c2ef037da80bec1f5703ac13b471 Author: Simon McVittie <[email protected]> Date: Thu Jan 22 11:26:09 2015 +0000 Improve help text presentation --- lib/game_data_packager/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/game_data_packager/__init__.py b/lib/game_data_packager/__init__.py index c411e03..e30132a 100644 --- a/lib/game_data_packager/__init__.py +++ b/lib/game_data_packager/__init__.py @@ -1753,7 +1753,8 @@ class GameData(object): parser = parsers.add_parser(self.shortname, help=self.longname, aliases=aliases, - description=self.help_text, + description='Package data files for %s.' % self.longname, + epilog=self.help_text, formatter_class=argparse.RawDescriptionHelpFormatter, parents=(base_parser,), **kwargs) @@ -2248,7 +2249,7 @@ def run_command_line(): argument_default=argparse.SUPPRESS) base_parser.add_argument('--package', '-p', action='append', - dest='packages', + dest='packages', metavar='PACKAGE', help='Produce this data package (may be repeated)') # Misc options @@ -2286,7 +2287,9 @@ def run_command_line(): help='save downloaded files to DIR, and look for files there') parser = argparse.ArgumentParser(prog='game-data-packager', - description='Package game files.', parents=(base_parser,)) + description='Package game files.', parents=(base_parser,), + epilog='Run "game-data-packager GAME --help" to see ' + + 'game-specific arguments.') game_parsers = parser.add_subparsers(dest='shortname', title='supported games', metavar='GAME') -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

