File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/core/src/main/scala/org/scalasteward/core/application Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ object Cli {
107
107
" vcs-type" ,
108
108
s " deprecated in favor of -- ${name.forgeType}" ,
109
109
visibility = Visibility .Partial
110
- )
110
+ ).validate( s " --vcs-type is deprecated; use -- ${name.forgeType} instead " )(_ => false )
111
111
112
112
private val forgeType = {
113
113
val help = ForgeType .all.map(_.asString).mkString(" One of " , " , " , " " ) +
@@ -120,7 +120,7 @@ object Cli {
120
120
" vcs-api-host" ,
121
121
s " deprecated in favor of -- ${name.forgeApiHost}" ,
122
122
visibility = Visibility .Partial
123
- )
123
+ ).validate( s " --vcs-api-host is deprecated; use -- ${name.forgeApiHost} instead " )(_ => false )
124
124
125
125
private val forgeApiHost : Opts [Uri ] =
126
126
option[Uri ](name.forgeApiHost, s " API URL of the forge; default: ${GitHub .publicApiBaseUrl}" )
@@ -132,7 +132,7 @@ object Cli {
132
132
" vcs-login" ,
133
133
s " deprecated in favor of -- ${name.forgeLogin}" ,
134
134
visibility = Visibility .Partial
135
- )
135
+ ).validate( s " --vcs-login is deprecated; use -- ${name.forgeLogin} instead " )(_ => false )
136
136
137
137
private val forgeLogin : Opts [String ] =
138
138
option[String ](name.forgeLogin, " The user name for the forge" ).orElse(vcsLogin)
You can’t perform that action at this time.
0 commit comments