mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-11 21:59:11 +02:00
Omit the ./ in the syntax metadata
This commit is contained in:
@ -1,16 +1,13 @@
|
||||
#!/usr/bin/pwsh
|
||||
<#
|
||||
.SYNTAX ./write-logbook.ps1 [<text>]
|
||||
.SYNTAX write-logbook.ps1 [<text>]
|
||||
.DESCRIPTION writes the given text to the logbook (in ../Data/logbook.csv)
|
||||
.LINK https://github.com/fleschutz/PowerShell
|
||||
.NOTES Author: Markus Fleschutz / License: CC0
|
||||
#>
|
||||
|
||||
param($Text = "")
|
||||
|
||||
if ($Text -eq "" ) {
|
||||
$Text = read-host "Enter the text to write"
|
||||
}
|
||||
if ($Text -eq "" ) { $Text = read-host "Enter the text to write" }
|
||||
|
||||
try {
|
||||
$Time = get-date -format "yyyy-MM-ddTHH:mm:ssZ" -asUTC
|
||||
|
Reference in New Issue
Block a user