Skip to content

Commit 690db67

Browse files
author
Zhenyu Zhou
committed
Add DefaultParameterSet and update help doc
1 parent 34b4436 commit 690db67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/HDInsight/HDInsight/ManagementCommands/GetAzureHDInsightHostCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
namespace Microsoft.Azure.Commands.HDInsight
2525
{
26-
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "HDInsightHost"),OutputType(typeof(AzureHDInsightHostInfo))]
26+
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "HDInsightHost", DefaultParameterSetName = SetByNameParameterSet), OutputType(typeof(AzureHDInsightHostInfo))]
2727
public class GetAzureHDInsightHostCommand : HDInsightCmdletBase
2828
{
2929
#region Input Parameter Definitions

src/HDInsight/HDInsight/help/Get-AzHDInsightHost.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Lists the hosts of the HDInsight cluster.
1212

1313
## SYNTAX
1414

15-
### SetByNameParameterSet
15+
### SetByNameParameterSet (Default)
1616
```
1717
Get-AzHDInsightHost [[-ResourceGroupName] <String>] [-ClusterName] <String>
1818
[[-DefaultProfile] <IAzureContextContainer>] [<CommonParameters>]

0 commit comments

Comments
 (0)