Utils/true.ps1
|
Register-GnuUtil @{ Name = 'true' Category = 'Shell helpers' Synopsis = 'Do nothing, successfully.' Usage = @('true [ignored command line arguments]', 'true OPTION') Description = @('Exit with a status code indicating success.') RawArguments = $true Notes = @('PowerShell note: functions cannot set $? to $false; check $LASTEXITCODE instead.') } |