Skip to content

lldb-server: stop double-naming the usage line, keep the dashdash value, render the alias - #160

Open
sadigaxund wants to merge 2 commits into
mainfrom
r12/lldb-server
Open

sadigaxund wants to merge 2 commits into
mainfrom
r12/lldb-server

Conversation

@sadigaxund

Copy link
Copy Markdown
Collaborator

Stops a probed node's USAGE line repeating the node path a bracketed abbreviation already spells, keeps the whole value on an end-of-options marker row, and renders the alias S-167 records. All three were invisible to the sweep because two live in the render layer and one lives in a subcommand's own document, which a root-only sweep never reads.

Sweep numbers, full PATH, 2324 tools, against cf5912f:

  • overall: IDENTICAL. Zero flag losses, zero flag gains, zero subcommand movement, zero positional movement, zero field-level changes. All nine control tools byte-identical on their #fp2 records: git, gcc, aarch64-linux-gnu-g++-13, ar, pnpm, systemctl, tar, find, docker.
  • Family: 2 tools, lldb-server and lldb-server-18, three probed children each. The corpus fixture gains a second capture for lldb-server gdbserver --help so the row is replayed from frozen bytes.

What the screens show, on mandible lldb-server with gdbserver selected. USAGE was gdbserver lldb-server g[dbserver] [options] [[host]:port] [[--] program args...] and is now lldb-server gdbserver [options] [[host]:port] [[--] program args...]. The last row under Target selection was -- program and is now -- program args, which is what the tool's own row says. The detail pane opens with alias: g, where the alias previously rendered nowhere.

sadigaxund and others added 2 commits September 13, 2026 21:10
…h value

usage_form no longer prepends the node name when the usage line already
names it through S-167's own bracket-abbreviated word (moved the
reconstruction into mandible-core so the renderer can reach it). The
detail pane now shows a node's short-prefix alias as its own line. The
`--` end-of-options marker keeps every word of a bare multi-word value
instead of truncating at the first space.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Second [[capture]] for corpus/lldb-server/18.1.3 pins the gdbserver
node's USAGE line and its `--` row's value. Atlas and changelog updated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant