From d5cef18bbe8b1d7b64e7d392522a92050e684eb9 Mon Sep 17 00:00:00 2001 From: jonathanpow <60067787+jonathanpow@users.noreply.github.com> Date: Thu, 25 Jun 2026 12:28:35 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20ensure=20rclone=20flags=20are=20correctl?= =?UTF-8?q?y=20mapped=20(buffer-size=20=E2=86=92=20buffer=5Fsize)=20(#221)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/flags.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/flags.ts b/lib/flags.ts index b5aa3b5..2938ad1 100644 --- a/lib/flags.ts +++ b/lib/flags.ts @@ -107,19 +107,20 @@ export function groupByCategory( } for (const [k, v] of Object.entries(flags)) { + const normalizedKey = k.replace(/-/g, '_') const category = getFlagCategory(k, allFlags) if (!category) continue if (category.category.startsWith('serve.')) { const serveType = category.category.slice(6) as (typeof SERVE_TYPES)[number] collectedFlags.serve[serveType] = { ...collectedFlags.serve[serveType], - [k]: v, + [normalizedKey]: v, } continue } collectedFlags[category.category as keyof Omit] = { ...collectedFlags[category.category as keyof Omit], - [k]: v, + [normalizedKey]: v, } }