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 {
107107 " vcs-type" ,
108108 s " deprecated in favor of -- ${name.forgeType}" ,
109109 visibility = Visibility .Partial
110- )
110+ ).validate( s " --vcs-type is deprecated; use -- ${name.forgeType} instead " )(_ => false )
111111
112112 private val forgeType = {
113113 val help = ForgeType .all.map(_.asString).mkString(" One of " , " , " , " " ) +
@@ -120,7 +120,7 @@ object Cli {
120120 " vcs-api-host" ,
121121 s " deprecated in favor of -- ${name.forgeApiHost}" ,
122122 visibility = Visibility .Partial
123- )
123+ ).validate( s " --vcs-api-host is deprecated; use -- ${name.forgeApiHost} instead " )(_ => false )
124124
125125 private val forgeApiHost : Opts [Uri ] =
126126 option[Uri ](name.forgeApiHost, s " API URL of the forge; default: ${GitHub .publicApiBaseUrl}" )
@@ -132,7 +132,7 @@ object Cli {
132132 " vcs-login" ,
133133 s " deprecated in favor of -- ${name.forgeLogin}" ,
134134 visibility = Visibility .Partial
135- )
135+ ).validate( s " --vcs-login is deprecated; use -- ${name.forgeLogin} instead " )(_ => false )
136136
137137 private val forgeLogin : Opts [String ] =
138138 option[String ](name.forgeLogin, " The user name for the forge" ).orElse(vcsLogin)
You can’t perform that action at this time.
0 commit comments