Skip to content

Commit 437af91

Browse files
committed
Merge pull request #29 from ko4life-net/release/1.1.0
Bump version from 1.0.2 to 1.1.0.
2 parents 43d915a + d5a8a7f commit 437af91

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.2
1+
1.1.0

utils.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ function ValidateServerNameInput {
3131
$sql_instances = @($sql_instances | Where-Object { $_ -ne "MSSQLSERVER" })
3232
if ($sql_instances) {
3333
MessageError "Available sql named instances: [$($sql_instances -join ', ')]"
34-
MessageError "Example: .\odbcad.ps1 -server_name .\$($sql_instances[-1])"
34+
$invoker_script_name = ($MyInvocation.PSCommandPath -split "\\")[-1]
35+
MessageError "Example: .\$invoker_script_name -server_name "".\$($sql_instances[-1])"""
36+
exit 1
3537
}
3638
return $false
3739
}

0 commit comments

Comments
 (0)