Merged
Conversation
The -j shorthand is non-standard and redundant. Keep only the long-form --json option across all command definitions. https://claude.ai/code/session_01RVYtJksXkt51L6nuaQYzGo
The auto-generated help section was empty after rebase. Regenerated it with the correct alignment after removing the -j alias. https://claude.ai/code/session_01RVYtJksXkt51L6nuaQYzGo
jancurn
pushed a commit
that referenced
this pull request
Apr 7, 2026
- CHANGELOG: keep auto-generate session names entry + main's new entries - README/index.ts: take main's --json (removed -j alias from PR #146) - index.ts: combine session name help text with main's jsonHelp() output https://claude.ai/code/session_01SRw2NArnxDKmgZLrNL72c6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes the
-jshort alias for the--jsonoption across the CLI, standardizing on the long-form--jsonflag only.Key Changes
-jshort alias from all--jsonoption definitions in:src/cli/index.ts)src/cli/index.ts)src/cli/commands/x402.ts)src/cli/index.ts)-jas an alias for--json(test/e2e/suites/basic/output-invariants.test.sh)-jalias in the options documentationImplementation Details
The change is consistent across all CLI entry points and command definitions. Users will now need to use the explicit
--jsonflag instead of the shorter-jvariant. This simplifies the CLI interface and reduces potential confusion from multiple ways to invoke the same option.https://claude.ai/code/session_01RVYtJksXkt51L6nuaQYzGo