mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Added comment-based help
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#!/snap/bin/powershell
|
||||
|
||||
# Syntax: ./locate-city.ps1 [<city>]
|
||||
# Description: prints the geographic location of the given city
|
||||
# Author: Markus Fleschutz
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
# License: CC0
|
||||
<#
|
||||
.SYNTAX ./locate-city.ps1 [<city>]
|
||||
.DESCRIPTION prints the geographic location of the given city
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
param([string]$City)
|
||||
if ($City -eq "" ) {
|
||||
|
Reference in New Issue
Block a user