Skip to content

Commit d2e65e4

Browse files
authored
Add max-depth parameter back (#224)
This was removed in a previous commit for testing purposes and should not have been.
1 parent aec26e0 commit d2e65e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/linux_mcp_server/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class CommandGroup(BaseModel):
184184
),
185185
"list_directories_size": CommandGroup(
186186
commands={
187-
"default": CommandSpec(args=("du", "-b", "--one-file-system", "{path}")),
187+
"default": CommandSpec(args=("du", "-b", "--one-file-system", "--max-depth=1", "{path}")),
188188
}
189189
),
190190
"list_directories_name": CommandGroup(

0 commit comments

Comments
 (0)