Skip to content

Misleading command line parameter type conversion #434

@fujimuramasa

Description

@fujimuramasa

using strings combining a float number and lower case 'm' as input parameter will be recognized into time datatype.for example:
println(params.size)
if I type --size 1.2m, it would print 1m 12s out.
Anything I could do to prevent this happening?
Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions