Skip to content

should not output error log to file when found unrecognized flag #303

@lucklove

Description

@lucklove

Execute the command:

$ tiup cluster --dashboard
Starting component `cluster`: /Users/joshua/.tiup/components/cluster/v1.0.0/cluster --dashboard

Error: unknown flag: --dashboard

Verbose debug logs has been written to /Users/joshua/Desktop/Code/tiup/logs/tiup-cluster-debug-2020-05-29-23-28-35.log.
Error: run `/Users/joshua/.tiup/components/cluster/v1.0.0/cluster` (wd:/Users/joshua/.tiup/data/S0OKVKr) failed: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.type/bugCategorizes issue as related to a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions