8000 CLI bug: the argument '-j' cannot be used with '[INPUT]' · Issue #35 · hjson/hjson-rust · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CLI bug: the argument '-j' cannot be used with '[INPUT]' #35

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

Closed
sanj0 opened this issue Sep 25, 2024 · 2 comments · Fixed by #36
Closed

CLI bug: the argument '-j' cannot be used with '[INPUT]' #35

sanj0 opened this issue Sep 25, 2024 · 2 comments · Fixed by #36

Comments

@sanj0
Copy link
sanj0 commented Sep 25, 2024

I have just installed the hjson CLI using cargo install hjson (version is 1.0.0). Upon trying to convert a HJSON-file to JSON using the example command from the README, I got the following error:

$ hjson -j books.hjson
error: the argument '-j' cannot be used with '[INPUT]'

Usage: hjson -j [INPUT]

For more information, try '--help'.

I assume this to be an issue in how clap is configured.

@trobro
Copy link
Member
trobro commented Sep 25, 2024

Thanks for reporting this issue. Fixed in release v1.1.0 now available on crates.io.

@sanj0
Copy link
Author
sanj0 commented Sep 25, 2024

Awesome, thank you very much!

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
0