Skip to content

Conversation

@kojix2
Copy link
Contributor

@kojix2 kojix2 commented Jan 25, 2025

Hi

I have recently tried this tool again since the pull requests were merged.
It is very fast to create d4 format files using mosdepth.

I was using the plot subcommand of d4tools and noticed that the --resolution option is ignored.

cargo build
 ./target/debug/d4tools plot --resolution 32x12 d4tools/test/data/input.d4 input.d4.svg --region 1

Actual output

error: Found argument 'input.d4.svg' which wasn't expected, or isn't valid in this context

USAGE:
    plot <input-file> <output-file> --region <chr[:start[-end]]> --resolution

For more information try --help

Expected output

input d4

I think the reason for this is that value_name is not specified and the option is set to take no arguments.

Thank you.

@brentp
Copy link
Collaborator

brentp commented Jan 25, 2025

thanks! does this fix the issue for you?

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 this pull request may close these issues.

2 participants