Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/cli.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('socket root command', async () => {

Usage
$ socket <command>
$ socket scan create--json
$ socket scan create --json
$ socket package score npm lodash --markdown

Note: All commands have their own --help
Expand Down
2 changes: 1 addition & 1 deletion src/utils/meow-with-subcommands.mts
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ export async function meowWithSubcommands(
const lines = ['', 'Usage', ` $ ${name} <command>`]
if (isRootCommand) {
lines.push(
` $ ${name} scan create${FLAG_JSON}`,
` $ ${name} scan create ${FLAG_JSON}`,
` $ ${name} package score ${NPM} lodash ${FLAG_MARKDOWN}`,
)
}
Expand Down