From fec8c27ac9133c5d793c188e9cf9d664ec3e1711 Mon Sep 17 00:00:00 2001 From: Ben Thayer Date: Thu, 5 Sep 2024 20:52:16 +0700 Subject: [PATCH] Add strict yargs (#190) --- cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.js b/cli.js index 664854b..83ad47c 100755 --- a/cli.js +++ b/cli.js @@ -7,6 +7,7 @@ import { commands } from './cmds/index.mjs' yargs(hideBin(process.argv)) .scriptName('toggl') .command(commands) + .strict() .completion('completion', 'Outputs bash/zsh-completion shortcuts for commands and options to add to .bashrc or .bash_profile') .demandCommand() .help()