Skip to content

Commit 2585253

Browse files
committed
chore: update clap
1 parent 7161afa commit 2585253

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cli.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ pub struct CommandArguments {
1010
short = 'w',
1111
long,
1212
action = clap::ArgAction::SetTrue,
13-
num_args = 0..=1,
1413
value_parser = clap::value_parser!(bool),
1514
help = "Enables write mode for the app, allowing both reading and writing. Defaults to disabled.",
1615
env = "ALLOW_WRITE"
@@ -22,7 +21,6 @@ pub struct CommandArguments {
2221
long,
2322
help = "Enables dynamic directory access control via Roots from the MCP client side. Defaults to disabled.\nWhen enabled, MCP clients that support Roots can dynamically update the allowed directories.\nAny directories provided by the client will completely replace the initially configured allowed directories on the server.",
2423
action = clap::ArgAction::SetTrue,
25-
num_args = 0..=1,
2624
value_parser = clap::value_parser!(bool),
2725
env = "ENABLE_ROOTS"
2826
)]

0 commit comments

Comments
 (0)