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