Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve --help to mention all the command options #2747

Merged
merged 1 commit into from
Jul 23, 2023

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Jul 22, 2023

Listing all the command line options is useful in various ways; not just for for completion generators, but for offline environment. Ah, not only for offline environment, this improves our dev experience a lot; we can see the meaning of command options without searching for the manual. This PR resolves #2284, close #2504.

@itchyny itchyny force-pushed the update-help-all-options branch from 8fea16e to 85b3c69 Compare July 23, 2023 07:39
@nicowilliams nicowilliams merged commit 99a381b into jqlang:master Jul 23, 2023
@nicowilliams
Copy link
Contributor

Thanks!

wader added a commit to wader/jq that referenced this pull request Jul 25, 2023
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
	}
wader added a commit to wader/jq that referenced this pull request Jul 25, 2023
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
	}
wader added a commit to wader/jq that referenced this pull request Jul 25, 2023
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
	}
emanuele6 pushed a commit that referenced this pull request Jul 25, 2023
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
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please document all command-line options in --help
2 participants