Merge pull request #1065 from jaceklaskowski/string-interpolation-follow-deprecation

Use string interpolation and replace deprecated methods
This commit is contained in:
Josh Suereth 2014-04-07 11:22:19 -04:00
commit d8e2f594d1
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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>