Skip to content

Commit

Permalink
Fix IO Collection Levels Comments/Help text
Browse files Browse the repository at this point in the history
Comments/Help text updated to match the associated Enum. #594
  • Loading branch information
DavidWiseman committed May 8, 2023
1 parent fe33cd9 commit e6a15b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DBADashConfig/Add-DBADashSource.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.PARAMETER Replace
Option to replace the existing connection if it already exists
.PARAMETER IOCollectionLevel
1=Full,2=Drive,3=Instance
1=Full,2=InstanceOnly,3=Drive,4=Database,5=DriveAndDatabase
.EXAMPLE
./Add-DBADashSource -ConnectionString "Data Source=MYSERVER;Integrated Security=True;Encrypt=True;Trust Server Certificate=True"
.EXAMPLE
Expand Down
2 changes: 1 addition & 1 deletion DBADashConfig/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class Options
public string ServiceName { get; set; } = "";

[Option("IOCollectionLevel", Default = 1, Required = false,
HelpText = "IO Collection Level. 1=Full, 2=Drive, 3=Instance")]
HelpText = "IO Collection Level. 1 = Full, 2 = InstanceOnly, 3 = Drive, 4= Database, 5 = DriveAndDatabase")]
public int IOCollectionLevel { get; set; } = 1;

public enum CommandLineActionOption
Expand Down

0 comments on commit e6a15b4

Please sign in to comment.