Skip to content

Commit

Permalink
make core options more consistent in grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Jul 15, 2024
1 parent 4e16c1e commit 15d5181
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = class Cli {
*/
confirm(message = 'Are you sure?') {
return {
describe: 'Auto answer yes to prompts',
describe: 'Answers yes to prompts',
alias: ['y'],
default: false,
boolean: true,
Expand Down
6 changes: 3 additions & 3 deletions lib/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const util = require('util');
const formats = ['default', 'json', 'table'];
const formatOpts = {
format: {
describe: `Output in given format: ${formats.join(', ')}`,
describe: `Outputs in given format: ${formats.join(', ')}`,
choices: formats,
string: true,
},
path: {
describe: 'Only return the value at the given path',
describe: 'Returns the value at the given path',
default: null,
string: true,
},
filter: {
describe: 'Filter data by "key=value"',
describe: 'Filters data by "key=value"',
array: true,
},
};
Expand Down

0 comments on commit 15d5181

Please sign in to comment.