Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(zsh): fix completion generation for zsh #9082

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ biome_json_syntax = { version = "0.5.7" }
bytes = "1.1.0"
camino = { version = "1.1.4", features = ["serde1"] }
chrono = "0.4.23"
clap = "4.5.2"
clap_complete = "4.5.1"
clap = "4.5.16"
clap_complete = "4.5.24"
concurrent-queue = "2.5.0"
console = "0.15.5"
console-subscriber = "0.1.8"
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ pub struct RunArgs {
// -----------------------
/// Force turbo to either use or not use the local daemon. If unset
/// turbo will use the default detection logic.
#[clap(long = "[no-]daemon", alias = "daemon", group = "daemon-group")]
#[clap(long = "(no-)daemon", alias = "daemon", group = "daemon-group")]
pub daemon: bool,

#[clap(long, group = "daemon-group", hide = true)]
Expand Down
4 changes: 2 additions & 2 deletions turborepo-tests/integration/tests/conflicting-flags.t
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
$ ${TURBO} run build --daemon --no-daemon
ERROR the argument '--\[no-\]daemon' cannot be used with '--no-daemon' (re)
ERROR the argument '--\(no-\)daemon' cannot be used with '--no-daemon' (re)

Usage: turbo(\.exe)? run --\[no-\]daemon (re)
Usage: turbo(\.exe)? run --\(no-\)daemon (re)

For more information, try '--help'.

Expand Down
2 changes: 1 addition & 1 deletion turborepo-tests/integration/tests/no-args.t
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Make sure exit code is 2 when no args are passed
Generate a graph of the task execution and output to a file when a filename is specified (.svg, .png, .jpg, .pdf, .json, .html, .mermaid, .dot). Outputs dot graph to stdout when if no filename is provided
--no-cache
Avoid saving task results to the cache. Useful for development/watch tasks
--[no-]daemon
--(no-)daemon
Force turbo to either use or not use the local daemon. If unset turbo will use the default detection logic
--profile <PROFILE>
File to write turbo's performance profile output into. You can load the file up in chrome://tracing to see which parts of your build were slow
Expand Down
4 changes: 2 additions & 2 deletions turborepo-tests/integration/tests/turbo-help.t
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Test help flag
Generate a graph of the task execution and output to a file when a filename is specified (.svg, .png, .jpg, .pdf, .json, .html, .mermaid, .dot). Outputs dot graph to stdout when if no filename is provided
--no-cache
Avoid saving task results to the cache. Useful for development/watch tasks
--[no-]daemon
--(no-)daemon
Force turbo to either use or not use the local daemon. If unset turbo will use the default detection logic
--profile <PROFILE>
File to write turbo's performance profile output into. You can load the file up in chrome://tracing to see which parts of your build were slow
Expand Down Expand Up @@ -215,7 +215,7 @@ Test help flag
--no-cache
Avoid saving task results to the cache. Useful for development/watch tasks

--[no-]daemon
--(no-)daemon
Force turbo to either use or not use the local daemon. If unset turbo will use the default detection logic

--profile <PROFILE>
Expand Down
Loading