Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en-US/Find-Member.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ If specified any parameter that accepts wildcards will switch to matching regula
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: Regex
Aliases: Regex, re

Required: False
Position: Named
Expand Down
6 changes: 3 additions & 3 deletions docs/en-US/Find-Type.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Specifies a interface that the type must implement to match. This can also be a
```yaml
Type: ClassExplorer.ScriptBlockStringOrType
Parameter Sets: (All)
Aliases: int
Aliases: ii, int

Required: False
Position: Named
Expand All @@ -174,7 +174,7 @@ Specifies a type that the type must inherit to match. This can also be a type si
```yaml
Type: ClassExplorer.ScriptBlockStringOrType
Parameter Sets: (All)
Aliases: Base
Aliases: Base, it

Required: False
Position: Named
Expand Down Expand Up @@ -364,7 +364,7 @@ If specified all parameters that accept wildcards will match regular expressions
```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: Regex
Aliases: Regex, re

Required: False
Position: Named
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public abstract class FindReflectionObjectCommandBase<TMemberType> : PSCmdlet
/// that support wildcards.
/// </summary>
[Parameter]
[Alias("Regex")]
[Alias("Regex", "re")]
public virtual SwitchParameter RegularExpression { get; set; }

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/ClassExplorer/Commands/FindTypeCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public string? FullName
/// </summary>
[Parameter]
[ValidateNotNull]
[Alias("Base")]
[Alias("Base", "it")]
[ArgumentCompleter(typeof(TypeFullNameArgumentCompleter))]
public ScriptBlockStringOrType InheritsType { get; set; } = null!;

Expand All @@ -72,7 +72,7 @@ public string? FullName
[Parameter]
[ValidateNotNull]
[ArgumentCompleter(typeof(TypeFullNameArgumentCompleter))]
[Alias("int")]
[Alias("int", "ii")]
public ScriptBlockStringOrType ImplementsInterface { get; set; } = null!;

[Parameter]
Expand Down