mirror of https://github.com/sbt/sbt.git
Merge pull request #1065 from jaceklaskowski/string-interpolation-follow-deprecation
Use string interpolation and replace deprecated methods
This commit is contained in:
commit
d8e2f594d1
|
|
@ -19,7 +19,7 @@ object BasicCommandStrings
|
|||
/** The command name to terminate the program.*/
|
||||
val TerminateAction: String = Exit
|
||||
|
||||
def helpBrief = (HelpCommand, "Displays this help message or prints detailed help on requested commands (run 'help <command>').")
|
||||
def helpBrief = (HelpCommand, s"Displays this help message or prints detailed help on requested commands (run '$HelpCommand <command>').")
|
||||
def helpDetailed = HelpCommand + """
|
||||
|
||||
Prints a help summary.
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ s"""$multiTaskSyntax
|
|||
def multiTaskBrief = """Executes all of the specified tasks concurrently."""
|
||||
|
||||
|
||||
def showHelp = Help(ShowCommand, (ShowCommand + " <key>", actBrief), actDetailed)
|
||||
def showHelp = Help(ShowCommand, (s"$ShowCommand <key>", showBrief), showDetailed)
|
||||
def showBrief = "Displays the result of evaluating the setting or task associated with 'key'."
|
||||
def showDetailed =
|
||||
s"""$ShowCommand <setting>
|
||||
|
|
|
|||
Loading…
Reference in New Issue