mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-25 01:14:16 +01:00
Update what-is.ps1
This commit is contained in:
parent
f68310dee0
commit
64b4a0839a
@ -28,7 +28,7 @@ try {
|
||||
"💡 $($row.ABBR) in $basename refers to $($row.MEANING)"
|
||||
}
|
||||
}
|
||||
if ($basename -eq "") { "🤷 Sorry, no entry '$abbr' in my database (located at .../Data/Abbr/)." }
|
||||
if ($basename -eq "") { "🤷 Sorry, no '$abbr' entry found. Use <Ctrl> <Click> to google it: https://www.google.com/search?q=abbreviation+$abbr" }
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user