Update what-is.ps1

This commit is contained in:
Markus Fleschutz
2023-09-11 10:56:09 +02:00
parent 0281bed912
commit 5f6e4d3fb4
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ try {
"💡 $($row.ABBR) in $basename refers to: $($row.MEANING)"
}
}
if ($basename -eq "") { "🤷‍ Sorry, my databases have no '$abbr' entry." }
if ($basename -eq "") { "🤷‍ Sorry, no '$abbr' entry found in my abbrevation tables (located at .../Data/Abbr/)." }
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"