Skip to content

Commit

Permalink
Align prompt in help example
Browse files Browse the repository at this point in the history
Was accidentally unaligned in #2747

Now looks like this:

Example:

	$ echo '{"foo": 0}' | jq .
	{
	  "foo": 0
	}

Before looks like this:

Example:

	 $ echo '{"foo": 0}' | jq .
	{
		"foo": 0
	}
  • Loading branch information
wader authored and emanuele6 committed Jul 25, 2023
1 parent 4705a22 commit bb8221e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static void usage(int code, int keep_it_short) {
"The simplest filter is ., which copies jq's input to its output\n"
"unmodified except for formatting. For more advanced filters see\n"
"the jq(1) manpage (\"man jq\") and/or https://jqlang.github.io/jq/.\n\n"
"Example:\n\n\t $ echo '{\"foo\": 0}' | jq .\n"
"Example:\n\n\t$ echo '{\"foo\": 0}' | jq .\n"
"\t{\n\t \"foo\": 0\n\t}\n\n",
JQ_VERSION, progname, progname, progname);
if (keep_it_short) {
Expand Down

0 comments on commit bb8221e

Please sign in to comment.