Skip to content

--ascii-only is flipped #372

@lior2b

Description

@lior2b

What crate(s) in this repo are involved in the problem?

tokio-console

What is the issue?

See repro

How can the bug be reproduced?

tokio-console --ascii-only true shows emojis
tokio-console --ascii-only false shows ascii

Logs, error output, etc

No response

Versions

0.1.7

Possible solution

clap crate has a default_value feature, makes the code cleaner and documents the defaults in the help message

Additional context

No response

Would you like to work on fixing this bug?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-consoleCrate: console.E-easyEffort: easy. Good for newcomersS-bugSeverity: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions