Skip to content

Commit

Permalink
Change commands arg name to the singular form (#520)
Browse files Browse the repository at this point in the history
As the plural "commands" suggest that it can take many commands while it only works with one.

Co-authored-by: Mike Donnalley <mdonnalley@salesforce.com>
  • Loading branch information
tomalec and mdonnalley committed Mar 6, 2024
1 parent b562bcf commit 3a71bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Args, Command, Flags, loadHelpClass} from '@oclif/core'

export default class HelpCommand extends Command {
static args = {
commands: Args.string({description: 'Command to show help for.', required: false}),
command: Args.string({description: 'Command to show help for.', required: false}),
}

static description = 'Display help for <%= config.bin %>.'
Expand Down

0 comments on commit 3a71bdb

Please sign in to comment.