Skip to content

docs: drop the removed -u alias and scope --ultra-compact to gh/glab - #4083

Open
ethanstoner wants to merge 1 commit into
rtk-ai:developfrom
ethanstoner:docs/ultra-compact-flag
Open

ethanstoner wants to merge 1 commit into
rtk-ai:developfrom
ethanstoner:docs/ultra-compact-flag

Conversation

@ethanstoner

Copy link
Copy Markdown

Fixes #3426

Summary

  • -u was removed as the short form of --ultra-compact in rtk git push -u does not set upstream tracking branch #1086 (so git push -u keeps working), but README.md, docs/contributing/ARCHITECTURE.md, docs/usage/FEATURES.md and scripts/test-all.sh still used it. rtk -u ... now treats -u as a program name.
  • The guide (what-rtk-covers.md) said --ultra-compact applies to all commands, with rtk git log --ultra-compact as the example. Only gh and glab read the flag (main.rs passes cli.ultra_compact to gh_cmd::run and glab_cmd::run only), so the docs now say that and use a gh example.
  • Same page showed rtk git status -vvv; -v is only recognized before the subcommand, so it's now rtk -vvv git status.

Docs and smoke-script only; no code changes. Note: #2580 (open, conflicting since June) proposes restoring a -u short flag instead. If that direction is preferred, this PR can be closed.

Test plan

  • Checked each claim against src/main.rs on develop (#[arg(long, global = true)] ultra_compact, no short; consumers at the gh/glab dispatch; verbose "only recognized before the subcommand") and test_git_push_u_flag_passes_through / test_ultra_compact_long_form_still_works
  • scripts/test-all.sh global-flags check now uses --ultra-compact

Generated with Claude Code

The -u short alias was removed in rtk-ai#1086 so git push -u keeps its meaning, but README,
ARCHITECTURE, FEATURES and the smoke test still used it (rtk -u ... now tries to run a
program named -u). The guide also presented --ultra-compact as applying to every command
with a git log example, while only gh and glab read it, and showed -vvv after the
subcommand, where rtk does not parse it.

Fixes rtk-ai#3426
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@rtk-wshm-sync-bot rtk-wshm-sync-bot Bot added the documentation Improvements or additions to documentation label Sep 15, 2026
@rtk-wshm-sync-bot

Copy link
Copy Markdown

wshm · Automated triage by AI

📊 Automated PR Analysis

📝 Type docs
🟢 Risk low

Summary

Updates documentation and the smoke-test script to remove references to the removed -u short flag for --ultra-compact, clarifies that --ultra-compact is only read by the gh and glab subcommands (not all commands), and fixes a -v verbosity example to place the flag before the subcommand. No source code changes are included.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Linked issues: #3426


Analyzed automatically by wshm · This is an automated analysis, not a human review.

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! Before we can review and merge this, the CLA needs to be signed. The CLAassistant bot left the link above, it only takes a minute. Once it's signed we'll pick the review up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

3 participants