Skip to content

Commit 8bdb7a9

Browse files
committed
updates from comments
1 parent 9999fc2 commit 8bdb7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/dbc/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type InstallCmd struct {
5454
Level config.ConfigLevel `arg:"-l" help:"Config level to install to (user, system)"`
5555
Json bool `arg:"--json" help:"Output JSON instead of plaintext"`
5656
NoVerify bool `arg:"--no-verify" help:"Allow installation of drivers without a signature file"`
57-
Pre bool `arg:"--pre" help:"Include pre-release versions (hidden by default)"`
57+
Pre bool `arg:"--pre" help:"Allow implicit installation of pre-release versions"`
5858
}
5959

6060
func (c InstallCmd) GetModelCustom(baseModel baseModel) tea.Model {

drivers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ func (d Driver) GetPackage(version *semver.Version, platformTuple string, allowP
464464
return p.Version.Prerelease() == ""
465465
}))
466466
if len(pkglist) == 0 {
467-
return PkgInfo{}, fmt.Errorf("driver `%s` not found", d.Path)
467+
return PkgInfo{}, fmt.Errorf("driver `%s` not found (but prerelease versions filtered out)", d.Path)
468468
}
469469
}
470470

0 commit comments

Comments
 (0)