Skip to content

Commit

Permalink
Revert "Add short aliases for '--add' and '--remove' options in "mete…
Browse files Browse the repository at this point in the history
…or authorized""

This reverts commit 32fc06e.

As Glasser points out, our command option parsing is such that all `-a`
flags for commands have to be consistent in whether they are boolean or
not. Since we could easily imagine wanting a boolean `-a` or `-r` flag
in the future, we should be careful about adding these aliases. We'll
update the docs to remove `-a` and `-r` instead.
  • Loading branch information
Emily Stark committed May 21, 2014
1 parent db4c344 commit 6189a92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -945,8 +945,8 @@ main.registerCommand({
minArgs: 1,
maxArgs: 1,
options: {
add: { type: String, short: "a" },
remove: { type: String, short: "r" },
add: { type: String },
remove: { type: String },
list: { type: Boolean }
}
}, function (options) {
Expand Down

0 comments on commit 6189a92

Please sign in to comment.