Skip to content

Commit

Permalink
fix(add): Order short flags first in help output, clarify description
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Aug 28, 2018
1 parent 2ab62c1 commit 8efb549
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions commands/add/command.js
Expand Up @@ -7,7 +7,7 @@ const filterable = require("@lerna/filter-options");
*/
exports.command = "add <pkg> [globs..]";

exports.describe = "Add a dependency to matched packages";
exports.describe = "Add a single dependency to matched packages";

exports.builder = yargs => {
yargs
Expand All @@ -20,16 +20,16 @@ exports.builder = yargs => {
type: "array",
})
.options({
dev: {
D: {
group: "Command Options:",
type: "boolean",
alias: "D",
alias: "dev",
describe: "Save to devDependencies",
},
exact: {
E: {
group: "Command Options:",
type: "boolean",
alias: "E",
alias: "exact",
describe: "Save version exactly",
},
})
Expand Down

0 comments on commit 8efb549

Please sign in to comment.