Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

usability: error if extra arguments passed to --all #646

Closed
kevinburke opened this issue Sep 28, 2016 · 0 comments
Closed

usability: error if extra arguments passed to --all #646

kevinburke opened this issue Sep 28, 2016 · 0 comments

Comments

@kevinburke
Copy link
Contributor

I wanted to delete two dependencies. I tried gb vendor delete a b and got:

FATAL: command "delete" failed: delete: import path or --all flag is missing

I then tried:

gb vendor delete --all a b

I expected that this would delete both a and b, but instead deleted all packages.

I think --all should error if any positional arguments are passed, and/or delete could have a clearer error message if multiple positional arguments are passed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants