Skip to content

Commit 96093e8

Browse files
Add some extra aliases and update docs (#32)
1 parent e57f5f3 commit 96093e8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/en-US/Find-Member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ If specified any parameter that accepts wildcards will switch to matching regula
475475
```yaml
476476
Type: SwitchParameter
477477
Parameter Sets: (All)
478-
Aliases: Regex
478+
Aliases: Regex, re
479479
480480
Required: False
481481
Position: Named

docs/en-US/Find-Type.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Specifies a interface that the type must implement to match. This can also be a
158158
```yaml
159159
Type: ClassExplorer.ScriptBlockStringOrType
160160
Parameter Sets: (All)
161-
Aliases: int
161+
Aliases: ii, int
162162
163163
Required: False
164164
Position: Named
@@ -174,7 +174,7 @@ Specifies a type that the type must inherit to match. This can also be a type si
174174
```yaml
175175
Type: ClassExplorer.ScriptBlockStringOrType
176176
Parameter Sets: (All)
177-
Aliases: Base
177+
Aliases: Base, it
178178
179179
Required: False
180180
Position: Named
@@ -364,7 +364,7 @@ If specified all parameters that accept wildcards will match regular expressions
364364
```yaml
365365
Type: System.Management.Automation.SwitchParameter
366366
Parameter Sets: (All)
367-
Aliases: Regex
367+
Aliases: Regex, re
368368
369369
Required: False
370370
Position: Named

src/ClassExplorer/Commands/FindReflectionObjectCommandBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public abstract class FindReflectionObjectCommandBase<TMemberType> : PSCmdlet
4444
/// that support wildcards.
4545
/// </summary>
4646
[Parameter]
47-
[Alias("Regex")]
47+
[Alias("Regex", "re")]
4848
public virtual SwitchParameter RegularExpression { get; set; }
4949

5050
/// <summary>

src/ClassExplorer/Commands/FindTypeCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public string? FullName
6262
/// </summary>
6363
[Parameter]
6464
[ValidateNotNull]
65-
[Alias("Base")]
65+
[Alias("Base", "it")]
6666
[ArgumentCompleter(typeof(TypeFullNameArgumentCompleter))]
6767
public ScriptBlockStringOrType InheritsType { get; set; } = null!;
6868

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

7878
[Parameter]

0 commit comments

Comments
 (0)