comparison cutils/treesum.py @ 348:539e2facbb28

treesum: optimize general help output regarding the "help" subcommand
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 01 Apr 2025 18:59:32 +0200
parents 3f4840eeb0f4
children 34874c45af1a
comparison
equal deleted inserted replaced
347:3f4840eeb0f4 348:539e2facbb28
260 dest="subcommand", 260 dest="subcommand",
261 title="Commands", 261 title="Commands",
262 description="This tool uses subcommands. " 262 description="This tool uses subcommands. "
263 "To see detailed help for a specific subcommand use " 263 "To see detailed help for a specific subcommand use "
264 "the -h/--help option after the subcommand name. " 264 "the -h/--help option after the subcommand name. "
265 "Or you can use the \"help\" subcommand like "
266 "\"help COMMAND\". "
265 "A list of valid commands and their short descriptions " 267 "A list of valid commands and their short descriptions "
266 "is listed below:", 268 "is listed below:",
267 metavar="COMMAND") 269 metavar="COMMAND")
268 270
269 genparser = subparsers.add_parser( 271 genparser = subparsers.add_parser(