mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-23 15:41:32 +00:00
cli: abort on unknown options (#729)
This commit is contained in:
@@ -262,7 +262,7 @@ prog.command('export [dest]')
|
||||
}
|
||||
});
|
||||
|
||||
prog.parse(process.argv);
|
||||
prog.parse(process.argv, { unknown: (arg: string) => `Unknown option: ${arg}` });
|
||||
|
||||
|
||||
async function _build(
|
||||
|
||||
Reference in New Issue
Block a user