Skip to content

Commit 93cf18d

Browse files
committed
Fix default parameter set for Import-Context
1 parent e27f2ae commit 93cf18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Profile/Commands.Profile/Context/ImportAzureRMContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Profile
2626
/// <summary>
2727
/// Selects Microsoft Azure profile.
2828
/// </summary>
29-
[Cmdlet(VerbsData.Import, "AzureRmContext", SupportsShouldProcess = true), OutputType(typeof(PSAzureProfile))]
29+
[Cmdlet(VerbsData.Import, "AzureRmContext", SupportsShouldProcess = true, DefaultParameterSetName = ProfileFromDiskParameterSet), OutputType(typeof(PSAzureProfile))]
3030
public class ImportAzureRMContextCommand : AzureContextModificationCmdlet
3131
{
3232
internal const string InMemoryProfileParameterSet = "InMemoryProfile";

0 commit comments

Comments
 (0)