mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-25 05:26:47 +01:00
Improve output of what-is.ps1
This commit is contained in:
parent
8748becdad
commit
c76cc609fe
@ -15,7 +15,7 @@ try {
|
||||
$Table = import-csv "$PSScriptRoot/../Data/Abbr/Aviation.csv"
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbr -eq $Abbreviation) {
|
||||
"Aviation: $($Row.Description)"
|
||||
" → $($Row.Description) (in aviation)"
|
||||
$FoundOne = 1
|
||||
}
|
||||
}
|
||||
@ -23,7 +23,7 @@ try {
|
||||
$Table = import-csv "$PSScriptRoot/../Data/Abbr/Misc.csv"
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbr -eq $Abbreviation) {
|
||||
"Misc: $($Row.Description)"
|
||||
" → $($Row.Description) (in misc)"
|
||||
$FoundOne = 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user