Skip to content

Commit

Permalink
docs(CLI): visual gap between cursor and kv
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Byron committed Apr 27, 2015
1 parent 12743f5 commit 4f98fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mako/cli/docs/commands.md.mako
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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.
Expand Down

0 comments on commit 4f98fc1

Please sign in to comment.