ksk001100 / adult-dl

Fast adult video downloader
MIT License
6 stars 1 forks source link

error[E0599]: no method named `usage` found for struct `Flag` in the current scope #1

Open g-cyan opened 2 years ago

g-cyan commented 2 years ago

As I run cargo install adult-dl , the following error has occured.

error[E0599]: no method named `usage` found for struct `Flag` in the current scope
  --> /home/username/.cargo/registry/src/github.com-1ecc6299db9ec823/adult-dl-0.0.1/src/main.rs:20:18
   |
20 |                 .usage("--output, -o [name]: Specifying the output filename")
   |                  ^^^^^ method not found in `Flag`

For more information about this error, try `rustc --explain E0599`.
error: failed to compile `adult-dl v0.0.1`, intermediate artifacts can be found at `/tmp/cargo-install9x9HD6`

Caused by:
  could not compile `adult-dl` due to previous error

Can you check it in your env?

ksk001100 commented 2 years ago

@g-cyan I forgot to release version 0.0.2, so I just ran cargo publish. Try to run cargo install adult-dl again.

g-cyan commented 2 years ago

The installation has been succeeded. Thank you.

However the resolution of the downloaded video is not same as max resolution in xvid.

Is there no such option which specifies a resolution?

g-cyan commented 2 years ago

I should have separated that resolution problem from this issue.