Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preceding ktx command name with option leads to error #867

Closed
MarkCallow opened this issue Mar 10, 2024 · 1 comment · Fixed by #891
Closed

Preceding ktx command name with option leads to error #867

MarkCallow opened this issue Mar 10, 2024 · 1 comment · Fixed by #891
Assignees

Comments

@MarkCallow
Copy link
Collaborator

The command

ktx --testrun extract --all --raw <input> <output>

produces the error

ktx: Unrecognized command: "extract"

There should not be an error in this case. Should one be unavoidable it should definitely not be saying that "extract" is an unrecognized command.

@aqnuep
Copy link
Collaborator

aqnuep commented Mar 10, 2024

This should be an error. The subcommand name must always be the first parameter, just like in case of git (barring command-independent parameters, which the ktx CLI tool does not have).

It is weird that for "--testrun" it says the unrecognized command is "extract", while for other "--parameter" values I get the proper error of unrecognized command "--parameter".

It must be something special with the way "--testrun" is handled. I'll try to take a look at it if I'll have time.

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 a pull request may close this issue.

2 participants