Skip to content

Command args accept hex value ? #64

@TwoAnts

Description

@TwoAnts

I need to input some hex value as uint64 args for commands.

But strconv.ParseUint() in args.go uses the base 10, which causes error when pass hex number.

When use strconv.ParseUint() with base 0, there will be no error.

Maybe the base 0 is better?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions