Replace "function" with "command" in several user-facing doc (#15129)

This commit is contained in:
Douglas
2025-02-17 14:10:38 -05:00
committed by GitHub
parent 273226d666
commit 5d1e2b1df1
9 changed files with 44 additions and 47 deletions

View File

@ -77,7 +77,6 @@ def log-types [] {
)
}
def parse-string-level [
level: string
] {
@ -96,7 +95,6 @@ def parse-string-level [
}
}
def parse-int-level [
level: int,
--short (-s)
@ -320,6 +318,6 @@ def "nu-complete log-level" [] {
# Change logging level
export def --env set-level [level: int@"nu-complete log-level"] {
# Keep it as a string so it can be passed to child processes
# Keep it as a string so it can be passed to child processes
$env.NU_LOG_LEVEL = $level | into string
}