diff --git a/docs/cli/run.md b/docs/cli/run.md index 97d0bede9f..c8107b74ae 100644 --- a/docs/cli/run.md +++ b/docs/cli/run.md @@ -96,7 +96,7 @@ Change how tasks information is output when running tasks - `prefix` - Print stdout/stderr by line, prefixed with the task's label - `interleave` - Print directly to stdout/stderr instead of by line - `replacing` - Stdout is replaced each time, stderr is printed as is -- `lengthy` - Only show stdout lines if they are displayed for more than 1 second +- `timed` - Only show stdout lines if they are displayed for more than 1 second - `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output - `quiet` - Don't show extra output - `silent` - Don't show any output including stdout and stderr from the task except for errors diff --git a/docs/cli/tasks/run.md b/docs/cli/tasks/run.md index a344c9d5fe..3ac1582fb7 100644 --- a/docs/cli/tasks/run.md +++ b/docs/cli/tasks/run.md @@ -110,7 +110,7 @@ Change how tasks information is output when running tasks - `prefix` - Print stdout/stderr by line, prefixed with the task's label - `interleave` - Print directly to stdout/stderr instead of by line - `replacing` - Stdout is replaced each time, stderr is printed as is -- `lengthy` - Only show stdout lines if they are displayed for more than 1 second +- `timed` - Only show stdout lines if they are displayed for more than 1 second - `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output - `quiet` - Don't show extra output - `silent` - Don't show any output including stdout and stderr from the task except for errors diff --git a/mise.usage.kdl b/mise.usage.kdl index 9bc39a9d98..2912b7962d 100644 --- a/mise.usage.kdl +++ b/mise.usage.kdl @@ -1088,7 +1088,7 @@ The name of the script will be the name of the tasks. flag "-q --quiet" help="Don't show extra output" flag "-S --silent" help="Don't show any output except for errors" flag "-o --output" help="Change how tasks information is output when running tasks" { - long_help "Change how tasks information is output when running tasks\n\n- `prefix` - Print stdout/stderr by line, prefixed with the task's label\n- `interleave` - Print directly to stdout/stderr instead of by line\n- `replacing` - Stdout is replaced each time, stderr is printed as is\n- `lengthy` - Only show stdout lines if they are displayed for more than 1 second\n- `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output\n- `quiet` - Don't show extra output\n- `silent` - Don't show any output including stdout and stderr from the task except for errors" + long_help "Change how tasks information is output when running tasks\n\n- `prefix` - Print stdout/stderr by line, prefixed with the task's label\n- `interleave` - Print directly to stdout/stderr instead of by line\n- `replacing` - Stdout is replaced each time, stderr is printed as is\n- `timed` - Only show stdout lines if they are displayed for more than 1 second\n- `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output\n- `quiet` - Don't show extra output\n- `silent` - Don't show any output including stdout and stderr from the task except for errors" arg "" } mount run="mise tasks --usage" @@ -1530,7 +1530,7 @@ The name of the script will be the name of the tasks. flag "-q --quiet" help="Don't show extra output" flag "-S --silent" help="Don't show any output except for errors" flag "-o --output" help="Change how tasks information is output when running tasks" { - long_help "Change how tasks information is output when running tasks\n\n- `prefix` - Print stdout/stderr by line, prefixed with the task's label\n- `interleave` - Print directly to stdout/stderr instead of by line\n- `replacing` - Stdout is replaced each time, stderr is printed as is\n- `lengthy` - Only show stdout lines if they are displayed for more than 1 second\n- `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output\n- `quiet` - Don't show extra output\n- `silent` - Don't show any output including stdout and stderr from the task except for errors" + long_help "Change how tasks information is output when running tasks\n\n- `prefix` - Print stdout/stderr by line, prefixed with the task's label\n- `interleave` - Print directly to stdout/stderr instead of by line\n- `replacing` - Stdout is replaced each time, stderr is printed as is\n- `timed` - Only show stdout lines if they are displayed for more than 1 second\n- `keep-order` - Print stdout/stderr by line, prefixed with the task's label, but keep the order of the output\n- `quiet` - Don't show extra output\n- `silent` - Don't show any output including stdout and stderr from the task except for errors" arg "" } arg "[TASK]" help="Tasks to run\nCan specify multiple tasks by separating with `:::`\ne.g.: mise run task1 arg1 arg2 ::: task2 arg1 arg2" required=false default="default" diff --git a/schema/mise.json b/schema/mise.json index 3164afdd35..788d87dabe 100644 --- a/schema/mise.json +++ b/schema/mise.json @@ -839,7 +839,15 @@ "task_output": { "description": "Change output style when executing tasks.", "type": "string", - "enum": ["prefix", "interleave", "keep-order", "quiet", "silent"] + "enum": [ + "prefix", + "interleave", + "keep-order", + "replacing", + "timed", + "quiet", + "silent" + ] }, "task_run_auto_install": { "default": true, diff --git a/settings.toml b/settings.toml index 811b4bba8f..5e9ed5d537 100644 --- a/settings.toml +++ b/settings.toml @@ -979,7 +979,7 @@ enum = [ ], [ "replacing", - "replace stdout each time a line is printed", + "replace stdout each time a line is printed" ], [ "timed",