Skip to content

Commit 5d88f44

Browse files
committed
chore: allow aliases as full flags
1 parent 239e904 commit 5d88f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/utils/parse-args.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export async function parseRawFlags(
219219
const arg = raw_arg.slice(2);
220220
const parts = arg.split('=');
221221
const spelling = normalizeFlag(parts[0]);
222-
const flag = spellings.get(spelling);
222+
const flag = spellings.get(spelling) || aliases.get(spelling);
223223
if (!flag) {
224224
throw new Error(`Unknown flag: ${spelling}`);
225225
}

0 commit comments

Comments
 (0)