From 4f98fc175ea274d3854929c05637c337f1a6aaa7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 27 Apr 2015 16:14:34 +0200 Subject: [PATCH] docs(CLI): visual gap between cursor and kv Previously, the space was barely visible, confusing even myself :). Now it's clear, using 4 spaces, that there is a cursor invocation followed by a key-value pair. --- src/mako/cli/docs/commands.md.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mako/cli/docs/commands.md.mako b/src/mako/cli/docs/commands.md.mako index d382b3a616..5afe2419b4 100644 --- a/src/mako/cli/docs/commands.md.mako +++ b/src/mako/cli/docs/commands.md.mako @@ -177,7 +177,7 @@ ${SPLIT_END} if v != FIELD_SEP: break res = ''.join(cursor[:fndfi]) + FIELD_SEP.join(cursor[fndfi:]) - res += ' ' + res += ' ' return res def cursor_arg(field): @@ -194,7 +194,7 @@ ${SPLIT_END} first_flag = '' %>\ % if isinstance(f, SchemaEntry): -* **${first_flag}${cursor_arg(mangle_subcommand(fn))}=${field_to_value(f)}** +* `${first_flag}${cursor_arg(mangle_subcommand(fn))}=${field_to_value(f)}` - ${f.property.get('description', NO_DESC) | xml_escape, indent_all_but_first_by(2)} % if f.container_type == CTYPE_ARRAY: - Each invocation of this argument appends the given value to the array.