woodruffw / steg86

Hiding messages in x86 programs using semantic duals

Home Page:https://crates.io/crates/steg86

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not using --raw is broken

autumnontape opened this issue · comments

Trying to use any steg86 subcommand without passing --raw results in an error like this:

error: The following required arguments were not provided:
    <input>
    --raw

USAGE:
    steg86 extract <input> --raw --bitness <bitness>

For more information try --help

I'm not very familiar with clap, but removing .requires("raw") from the "bitness" argument of each subcommand fixes the problem. I think clap is acting like bitness is always provided because it has a default value.