cmd/cue: drop --verbose and --trace as global flags
The former is only used by `get go` and the latter by `trim`.
While having them as global flags is not actively causing bugs,
it is taking up valuable space in e.g. `cue help vet`,
and it's also causing confusion as users expect these flags
to do something useful for most commands.
In practice, we should have almost zero global flags,
given that it's very hard for one flag to apply to vastly different
subcommands like `mod edit`, `fmt`, `export`, `login`, etc.
This is technically a breaking change, as these flags used to work
as no-ops for all commands, and will now fail as unknown flags for most.
Arguably that's a reasonable kind of breakage; users of those flags
thought they were getting behavior which was a lie.
If they actually want that behavior, they can reach out to us
or raise an issue and we can discuss re-adding the flag for commands
where it can actually do something useful.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I0230b73149a01b8cecdb9dcf14e40bbda1fac022
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1230085
Reviewed-by: Matthew Sackman <matthew@cue.works>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>