Skip to content

Positional args mapped differently vs given option #622

Closed
@jvalkeal

Description

@jvalkeal

Regression from previous work #614 and #616.

Shown as where last command doesn't work anymore:

my-shell:>help --command e2e reg default-value
NAME
       e2e reg default-value - 

SYNOPSIS
       e2e reg default-value --arg1 String --help 

OPTIONS
       --arg1 String
       [Optional, default = hi]

       --help or -h 
       help for e2e reg default-value
       [Optional]



my-shell:>help --command "e2e reg default-value"
NAME
       e2e reg default-value - 

SYNOPSIS
       e2e reg default-value --arg1 String --help 

OPTIONS
       --arg1 String
       [Optional, default = hi]

       --help or -h 
       help for e2e reg default-value
       [Optional]



my-shell:>help "e2e reg default-value"
NAME
       e2e reg default-value - 

SYNOPSIS
       e2e reg default-value --arg1 String --help 

OPTIONS
       --arg1 String
       [Optional, default = hi]

       --help or -h 
       help for e2e reg default-value
       [Optional]



my-shell:>help e2e reg default-value
Unknown command 'e2e,reg,default-value'
Details of the error have been omitted. You can use the stacktrace command to print the full stacktrace.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions