Skip to content

Help text recommends ambiguous flag #8

@offlinemark

Description

@offlinemark

The helpful "input is binary?" text should be updated to recommend -bi

[I] (py3) vagrant ubuntu-bionic /v/m/541 ❯ cat QuickFuzz.78967239524.88.5513551461481047294.38.evm.txt |evmasm -d
Input is binary? try using -b.
[I] (py3) vagrant ubuntu-bionic /v/m/541 ❯ cat QuickFuzz.78967239524.88.5513551461481047294.38.evm.txt |evmasm -b -d
usage: evmasm [-h] (-a | -d | -t) [-bi] [-bo] [-i [INPUT]] [-o [OUTPUT]]
evmasm: error: ambiguous option: -b could match -bi, -bo

https://github.com/trailofbits/pyevmasm/blob/66b8b46515ba43f58ce8542f318a9f5ccbf42a22/pyevmasm/__main__.py#L52

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions