From 800bd3698a8eb74571d70de04769c86974b1e4f5 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 17 Jun 2013 12:06:13 -0400 Subject: [PATCH] Add syntax summary to 'set' and 'inspect' help. Follow-up to #776. --- main/src/main/scala/sbt/CommandStrings.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/main/scala/sbt/CommandStrings.scala b/main/src/main/scala/sbt/CommandStrings.scala index 55a640cd8..af2f680af 100644 --- a/main/src/main/scala/sbt/CommandStrings.scala +++ b/main/src/main/scala/sbt/CommandStrings.scala @@ -73,7 +73,7 @@ s"""$ExportCommand [--last] + """ val InspectCommand = "inspect" - val inspectBrief = (InspectCommand, "Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies.") + val inspectBrief = (InspectCommand + " [uses|tree|definitions] ", "Prints the value for 'key', the defining scope, delegates, related definitions, and dependencies.") val inspectDetailed = InspectCommand + """ @@ -110,7 +110,7 @@ InspectCommand + """ definitions val SetCommand = "set" - val setBrief = (SetCommand, "Evaluates a Setting and applies it to the current project.") + val setBrief = (s"$SetCommand [every] ", "Evaluates a Setting and applies it to the current project.") val setDetailed = SetCommand + """ [every]