summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Kislyuk <kislyuk@gmail.com>2020-05-06 11:40:45 -0700
committerGitHub <noreply@github.com>2020-05-06 11:40:45 -0700
commitc59435410244561fb7b7e7cee52bd1c6453b486d (patch)
tree648ad218d49dc90959ac0631b4bffa294ae19d0d
parent1060e2b085de949b41798f3802b96ba683a74d2c (diff)
Make docstring source formatting consistent
-rw-r--r--yq/parser.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/yq/parser.py b/yq/parser.py
index ebf8db3..d15ec5e 100644
--- a/yq/parser.py
+++ b/yq/parser.py
@@ -29,13 +29,13 @@ def get_parser(program_name, description):
if program_name == "yq":
current_language = "YAML"
yaml_output_help = "Transcode jq JSON output back into YAML and emit it"
- yaml_roundtrip_help = """Transcode jq JSON output back into YAML and emit it.
-Preserve YAML tags and styles by representing them as extra items
-in their enclosing mappings and sequences while in JSON. This option
-is incompatible with jq filters that do not expect these extra items."""
+ yaml_roundtrip_help = ("Transcode jq JSON output back into YAML and emit it. "
+ "Preserve YAML tags and styles by representing them as extra items "
+ "in their enclosing mappings and sequences while in JSON. This option "
+ "is incompatible with jq filters that do not expect these extra items.")
width_help = "When using --yaml-output, specify string wrap width"
- indentless_help = """When using --yaml-output, indent block style lists (sequences)
-with 0 spaces instead of 2"""
+ indentless_help = ("When using --yaml-output, indent block style lists (sequences) "
+ "with 0 spaces instead of 2")
elif program_name == "xq":
current_language = "XML"
xml_output_help = "Transcode jq JSON output back into XML and emit it"