OSDN Git Service

cmdutils: show options in show_help_children only if the context has options
authorStefano Sabatini <stefasab@gmail.com>
Thu, 9 Aug 2012 12:44:18 +0000 (14:44 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 10 Aug 2012 21:14:44 +0000 (23:14 +0200)
commitad5043e285865cb9297e32ce25da93841cf76d3f
treee719ce6fe1a72092fb62d36d34240f89ae43b479
parenta6d6b8a20072a5919d38258dd48cc612e2372f81
cmdutils: show options in show_help_children only if the context has options

Avoid to print a pointless name of the context followed by an empty list.
cmdutils.c