mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 05:38:19 +02:00
Experiment: Allow both $true/true and $false/false (#4696)
* Change true/false to keywords * oops, clippy * Both kinds of bools * Add in some boolean variables * disable py virtualenv test for now
This commit is contained in:
@ -139,9 +139,9 @@ function end_filter {
|
||||
function Write-TraceMessage {
|
||||
Param
|
||||
(
|
||||
[Parameter(Mandatory = $false, Position = 0)]
|
||||
[Parameter(Mandatory = false, Position = 0)]
|
||||
[string] $label,
|
||||
[Parameter(Mandatory = $false, Position = 1)]
|
||||
[Parameter(Mandatory = false, Position = 1)]
|
||||
[string] $message
|
||||
)
|
||||
|
||||
@ -196,9 +196,9 @@ function Get-PipedData {
|
||||
param(
|
||||
[Parameter(
|
||||
Position = 0,
|
||||
Mandatory = $true,
|
||||
ValueFromPipeline = $true,
|
||||
ValueFromPipelineByPropertyName = $true)
|
||||
Mandatory = true,
|
||||
ValueFromPipeline = true,
|
||||
ValueFromPipelineByPropertyName = true)
|
||||
]
|
||||
[Alias('piped')]
|
||||
[String]$piped_input
|
||||
|
Reference in New Issue
Block a user