Skip to content

Commit fe2a00a

Browse files
committed
Differentiated stubs between explicit azure help command and azure help for individual commands..
1 parent 18ffe02 commit fe2a00a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/CLU/Microsoft.CLU/CommandLineParser/UnixCommandLineParser.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,15 @@ public string FormatParameterName(string name, string type, bool isMandatory, bo
186186
private void PresentCommandHelp(ICommandBinder commandBinder, string[] arguments, bool prefix)
187187
{
188188
// BUGBUG - NYI!
189-
var concatenatedArgs = string.Join(" ", arguments);
190-
Console.WriteLine($"Look up help corresponding to the arguments '{concatenatedArgs}'");
189+
if (arguments.Length == 0)
190+
{
191+
var concatenatedArgs = string.Join(" ", arguments);
192+
Console.WriteLine($"Look up help corresponding to the arguments '{concatenatedArgs}'");
193+
}
194+
else
195+
{
196+
Console.WriteLine("Present help for Azure itself...");
197+
}
191198
}
192199

193200
/// <summary>

0 commit comments

Comments
 (0)