add support for nested arguments.

This commit is contained in:
2014-12-20 03:23:55 +01:00
parent 1b2c641884
commit 229b49e88d

View File

@@ -136,7 +136,8 @@ def print_subcommand_list(data, nested_content):
my_def.append(nodes.literal_block(text=child['usage'])) my_def.append(nodes.literal_block(text=child['usage']))
my_def.append(print_command_args_and_opts( my_def.append(print_command_args_and_opts(
print_arg_list(child, nested_content), print_arg_list(child, nested_content),
print_opt_list(child, nested_content) print_opt_list(child, nested_content),
print_subcommand_list(child, nested_content)
)) ))
items.append( items.append(
nodes.definition_list_item( nodes.definition_list_item(