Skip to content

Commit

Permalink
Update flags.md
Browse files Browse the repository at this point in the history
Fix the second `aliases` option, property should be named `charAliases` instead
  • Loading branch information
alan-morey authored Oct 1, 2024
1 parent dbb9bba commit f3885b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static flags = {
defaultHelp: 'a dynamic value' // dynamic default value to show in help output (e.g. current working directory). Can be an async function that returns a string or undefined
required: false, // make flag required
aliases: ['username', 'u'], // aliases for the flag - can be short char or long flags
aliases: ['u', 'n'], // single character aliases for the flag
charAliases: ['u', 'n'], // single character aliases for the flag
deprecated: false, // mark the flag as deprecated.
deprecateAliases: false, // emit deprecation warning anytime a flag alias is provided
noCacheDefault: false, // if true, the value returned by defaultHelp will not be cached in the oclif.manifest.json.
Expand Down

0 comments on commit f3885b2

Please sign in to comment.