[bin] Add description how to access the online help of fontbakery subcommands/
@@ -31,11 +31,15 @@ subcommands = _get_subcommands()
description = "Run fontbakery subcomands:{0}".format(''.join(
['\n {0}'.format(sc) for sc in sorted(subcommands.keys())]))
+description += ("\n\nSubcommands have their own help messages. These are usually "
+ "accessible with the -h/--help flag positioned after the subcomand.\n"
+ "I.e.: fontbakery subcommand -h"
+ )
parser = argparse.ArgumentParser(description=description,
formatter_class=RawTextHelpFormatter)
parser.add_argument('subcommand',
nargs=1,
- help="subcommand to execute")
+ help="the subcommand to execute")
if __name__ == '__main__':
