diff --git a/src/commands/cli.test.mts b/src/commands/cli.test.mts index 845c65ed..245418f9 100755 --- a/src/commands/cli.test.mts +++ b/src/commands/cli.test.mts @@ -21,7 +21,7 @@ describe('socket root command', async () => { Usage $ socket - $ socket scan create--json + $ socket scan create --json $ socket package score npm lodash --markdown Note: All commands have their own --help diff --git a/src/utils/meow-with-subcommands.mts b/src/utils/meow-with-subcommands.mts index 0ed43881..582ac37b 100644 --- a/src/utils/meow-with-subcommands.mts +++ b/src/utils/meow-with-subcommands.mts @@ -524,7 +524,7 @@ export async function meowWithSubcommands( const lines = ['', 'Usage', ` $ ${name} `] if (isRootCommand) { lines.push( - ` $ ${name} scan create${FLAG_JSON}`, + ` $ ${name} scan create ${FLAG_JSON}`, ` $ ${name} package score ${NPM} lodash ${FLAG_MARKDOWN}`, ) }