Skip to content

docs: fix CLI flag accuracy in user documentation#452

Merged
mchmarny merged 5 commits intomainfrom
docs/fix-user-doc-accuracy
Mar 21, 2026
Merged

docs: fix CLI flag accuracy in user documentation#452
mchmarny merged 5 commits intomainfrom
docs/fix-user-doc-accuracy

Conversation

@nvidiajeff
Copy link
Copy Markdown
Contributor

Summary

  • Fix --namespace default from gpu-operator to default across snapshot docs (verified against snapshot.go)
  • Remove incorrect -d alias from --debug and fix --format alias from -f to -t (verified against root.go)
  • Add 15 missing validate flags, 4 missing bundle flags, and 3 missing snapshot flags (--image-pull-secret, --require-gpu, --runtime-class)
  • Add -d alias for --deployer in bundle flags
  • Fix broken numbered list in installation.md (1,1,3 → 1,2,3)

Test plan

  • Build latest binary (make build) and verify all flag tables match aicr snapshot --help, aicr validate --help, aicr bundle --help
  • Confirm --namespace default is default via aicr snapshot --help
  • Confirm --format short alias is -t via aicr snapshot --help
  • Confirm --runtime-class present in latest build
  • Verify all internal doc links resolve to existing files

@nvidiajeff nvidiajeff requested a review from a team as a code owner March 21, 2026 00:35
@github-actions
Copy link
Copy Markdown

Welcome to AICR, @nvidiajeff! Thanks for your first pull request.

Before review, please ensure:

  • All commits are signed off per the DCO
  • CI checks pass (tests, lint, security scan)
  • The PR description explains the why behind your changes

A maintainer will review this soon.

Correct verified errors in user docs against source code:
- Fix --namespace default from gpu-operator to default (snapshot.go)
- Remove fake -d alias from --debug; fix --format alias to -t (root.go)
- Add 16 missing validate flags and 4 missing bundle flags
- Add --image-pull-secret and --require-gpu to snapshot flags
- Add -d alias for --deployer in bundle flags
- Fix numbered list in installation.md (1,1,3 → 1,2,3)
@nvidiajeff nvidiajeff force-pushed the docs/fix-user-doc-accuracy branch from cef64d8 to cb5f135 Compare March 21, 2026 02:37
- Fix nonexistent `-i` alias for `--intent` in example (no short alias exists)
- Fix "four steps" to "five steps" in bundle attestation (lists 5 items)
- Remove `NO_COLOR` from env var table (not used by AICR directly)
- Rewrite exit codes table to match pkg/errors/exitcode.go
- Add missing /v1/query endpoint documentation (exists in OpenAPI spec since #445)
- Add /v1/query to feature comparison table and routes example
- Add missing gke-nccl-tcpxo to bundler table
- Fix content type application/yaml to application/x-yaml in curl example
@nvidiajeff nvidiajeff force-pushed the docs/fix-user-doc-accuracy branch from 9e9b82d to 12f234b Compare March 21, 2026 04:59
@mchmarny mchmarny merged commit 886718c into main Mar 21, 2026
11 checks passed
@mchmarny mchmarny deleted the docs/fix-user-doc-accuracy branch March 21, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants