Repository navigation
docs: drop the removed -u alias and scope --ultra-compact to gh/glab - #4083
ethanstoner wants to merge 1 commit into
Conversation
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
|
|
📊 Automated PR Analysis
SummaryUpdates documentation and the smoke-test script to remove references to the removed Review Checklist
Linked issues: #3426 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
|
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. |
Fixes #3426
Summary
-uwas removed as the short form of--ultra-compactin rtk git push -u does not set upstream tracking branch #1086 (sogit push -ukeeps working), butREADME.md,docs/contributing/ARCHITECTURE.md,docs/usage/FEATURES.mdandscripts/test-all.shstill used it.rtk -u ...now treats-uas a program name.what-rtk-covers.md) said--ultra-compactapplies to all commands, withrtk git log --ultra-compactas the example. Onlyghandglabread the flag (main.rspassescli.ultra_compacttogh_cmd::runandglab_cmd::runonly), so the docs now say that and use aghexample.rtk git status -vvv;-vis only recognized before the subcommand, so it's nowrtk -vvv git status.Docs and smoke-script only; no code changes. Note: #2580 (open, conflicting since June) proposes restoring a
-ushort flag instead. If that direction is preferred, this PR can be closed.Test plan
src/main.rsondevelop(#[arg(long, global = true)] ultra_compact, noshort; consumers at thegh/glabdispatch;verbose"only recognized before the subcommand") andtest_git_push_u_flag_passes_through/test_ultra_compact_long_form_still_worksscripts/test-all.shglobal-flags check now uses--ultra-compactGenerated with Claude Code