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

Argument --type-list requires other arguments #100

Closed
dshahbaz opened this issue Sep 12, 2022 · 0 comments · Fixed by #101
Closed

Argument --type-list requires other arguments #100

dshahbaz opened this issue Sep 12, 2022 · 0 comments · Fixed by #101

Comments

@dshahbaz
Copy link

Expected --type-list to just list the types:

❯ ruplacer  --version
ruplacer 0.8.0
❯ ruplacer  --type-list
error: The following required arguments were not provided:
    <PATTERN>
    <REPLACEMENT>

USAGE:
    ruplacer --type-list <PATTERN> <REPLACEMENT>

For more information try --help

Workaround was to just spam some arguments:

❯ ruplacer  --type-list a b
Known file types:
agda: *.agda, *.lagda
aidl: *.aidl
...
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.

1 participant