diff --git a/cli/main.ts b/cli/main.ts index fcc72e4..5d23fd4 100644 --- a/cli/main.ts +++ b/cli/main.ts @@ -17,9 +17,7 @@ const args = parse(Deno.args, { h: "height", o: "output", m: "mode", - r: "recursive", }, - boolean: ["recursive"], default: { w: 640, h: 640, @@ -43,7 +41,7 @@ args["_"].forEach((arg) => { if (Deno.statSync(arg).isDirectory) { Array.from( walkSync(arg, { - maxDepth: args["recursive"] ? Infinity : 1, + maxDepth: Infinity, includeDirs: false, includeFiles: true, exts: includeExtensions.length ? includeExtensions : undefined, diff --git a/tgbot/kollagen-bot/main.py b/tgbot/kollagen-bot/main.py index 75f38e6..2c105f3 100644 --- a/tgbot/kollagen-bot/main.py +++ b/tgbot/kollagen-bot/main.py @@ -138,7 +138,6 @@ class KollagenBot: with NamedTemporaryFile(suffix=".png") as ntf: shell_cmd_line = [ self.kollagen_path, - "-r", *directories, "-w", str(args.width),