diff options
Diffstat (limited to 'src/cli/spec.rs')
| -rw-r--r-- | src/cli/spec.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/cli/spec.rs b/src/cli/spec.rs index 134bf0bf..ed3c74a8 100644 --- a/src/cli/spec.rs +++ b/src/cli/spec.rs @@ -239,7 +239,8 @@ fn worktree_command() -> Command { Command::new("list") .about("List worktree workspaces") .arg(option("workspace", "ID")) - .arg(path_option("cwd", "PATH")), + .arg(path_option("cwd", "PATH")) + .arg(flag("trust-repository")), ) .subcommand( Command::new("create") @@ -251,7 +252,8 @@ fn worktree_command() -> Command { .arg(path_option("path", "PATH")) .arg(option("label", "TEXT")) .arg(flag("focus")) - .arg(flag("no-focus")), + .arg(flag("no-focus")) + .arg(flag("trust-repository")), ) .subcommand( Command::new("open") @@ -262,13 +264,15 @@ fn worktree_command() -> Command { .arg(option("branch", "NAME")) .arg(option("label", "TEXT")) .arg(flag("focus")) - .arg(flag("no-focus")), + .arg(flag("no-focus")) + .arg(flag("trust-repository")), ) .subcommand( Command::new("remove") .about("Remove a worktree checkout") .arg(option("workspace", "ID")) - .arg(flag("force")), + .arg(flag("force")) + .arg(flag("trust-repository")), ) } |
