-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'default'/'update' bare triple handling with erroring out
When a bare (partial) triple is given instead of a toolchain name, try to figure out user's intention. For 'update', generate a list of toolchains with the matching triple. For 'default', find out if there's a non-default toolchain on the same channel/date and the given triple, and suggest its use. In both cases, terminate with an error, so the user has to reissue the command with a valid toolchain spec.
- Loading branch information
Showing
1 changed file
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters