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 jqlang#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 committed Jul 25, 2023
1 parent 4705a22 commit a74ed8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/oniguruma
Submodule oniguruma updated 187 files
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 a74ed8a

Please sign in to comment.