-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Running tracey query validate prints this at the end:
→ Run `tracey query validate <spec>/<impl>`
But running that returns:
Error: unexpected argument: foo/bar
╭─[ <cli>:1:16 ]
│
1 │ query validate foo/bar
│ ───┬───
│ ╰───── unexpected argument: foo/bar
───╯
So then we go look at the --help:
tracey query validate
Validate the spec and implementation
USAGE:
tracey query validate [OPTIONS]
OPTIONS:
--spec_impl <STRING>
Spec/impl to validate (e.g., "my-spec/rust"). Optional if only one exists.
Wait, what?
Error: unknown flag: --spec_impl. Did you mean '--spec-impl'?
╭─[ <cli>:1:16 ]
│
1 │ query validate --spec_impl foo/bar
│ ─────┬─────
│ ╰─────── unknown flag: --spec_impl. Did you mean '--spec-impl'?
───╯
Error: unexpected argument: foo/bar
╭─[ <cli>:1:28 ]
│
1 │ query validate --spec_impl foo/bar
│ ───┬───
│ ╰───── unexpected argument: foo/bar
───╯
So it's actually --spec-impl. Weird that it's wrong in two places though!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels