# HG changeset patch # User Ludovic Chabant # Date 1467447879 25200 # Node ID 549e21789ad933d066aa3e98335e9718937ef1ef # Parent f7ddd730c08d0b102307ffa000063b826f473a2e themes: No parameters shoudl make the help text show up. This makes the `themes` command consistent with other commands with sub-commands. diff -r f7ddd730c08d -r 549e21789ad9 piecrust/commands/builtin/themes.py --- a/piecrust/commands/builtin/themes.py Sat Jul 02 01:16:50 2016 -0700 +++ b/piecrust/commands/builtin/themes.py Sat Jul 02 01:24:39 2016 -0700 @@ -53,7 +53,8 @@ raise SiteNotFoundError(theme=ctx.app.theme_site) if not hasattr(ctx.args, 'sub_func'): - ctx.args = ctx.parser.parse_args(['themes', 'info']) + ctx.parser.parse_args(['themes', '--help']) + return ctx.args.sub_func(ctx) def _info(self, ctx):