Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

feat: improved arg usage errors #225

Merged
merged 4 commits into from
Jan 23, 2021
Merged

feat: improved arg usage errors #225

merged 4 commits into from
Jan 23, 2021

Conversation

cmoog
Copy link
Contributor

@cmoog cmoog commented Jan 23, 2021

Closes #200

╰─>$ coder login
error: accepts 1 arg(s), received 0
  | usage: coder login [Coder Enterprise URL eg. https://my.coder.domain/] [flags]
  | 
  | tip: use "--help" for more info

exit status 1

@cmoog cmoog requested a review from sreya January 23, 2021 05:47
@cmoog cmoog enabled auto-merge (squash) January 23, 2021 05:52
@cmoog cmoog disabled auto-merge January 23, 2021 05:54
@cmoog cmoog enabled auto-merge (squash) January 23, 2021 05:54
@cmoog cmoog disabled auto-merge January 23, 2021 05:54
@cmoog cmoog enabled auto-merge (squash) January 23, 2021 05:55
@cmoog cmoog requested a review from kylecarbs January 23, 2021 19:34
@cmoog cmoog merged commit b8067c0 into master Jan 23, 2021
@cmoog cmoog deleted the cmoog/better-arg-errors branch January 23, 2021 19:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide more descriptive usage error messaging
2 participants