mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Rename search/show --show-broken to --include-old
This commit is contained in:
@@ -869,7 +869,7 @@ main.registerCommand({
|
||||
minArgs: 1,
|
||||
maxArgs: 1,
|
||||
options: {
|
||||
"show-broken": {type: Boolean, required: false }
|
||||
"include-old": {type: Boolean, required: false }
|
||||
}
|
||||
}, function (options) {
|
||||
|
||||
@@ -878,7 +878,7 @@ main.registerCommand({
|
||||
|
||||
// We only show compatible versions unless we know otherwise.
|
||||
var versionVisible = function (record) {
|
||||
return options['show-broken'] || !(_.isEqual(record.description,
|
||||
return options['include-old'] || !(_.isEqual(record.description,
|
||||
"INCOMPATIBLE WITH METEOR 0.9.0 OR LATER"));
|
||||
};
|
||||
|
||||
@@ -1003,7 +1003,7 @@ main.registerCommand({
|
||||
maxArgs: 1,
|
||||
options: {
|
||||
maintainer: {type: String, required: false },
|
||||
"show-broken": {type: Boolean, required: false }
|
||||
"include-old": {type: Boolean, required: false }
|
||||
}
|
||||
}, function (options) {
|
||||
|
||||
@@ -1031,7 +1031,7 @@ main.registerCommand({
|
||||
var filterBroken = function (match, isRelease, name) {
|
||||
// If the package does not match, or it is not a package at all or if we
|
||||
// don't want to filter anyway, we do not care.
|
||||
if (!match || isRelease || options["show-broken"])
|
||||
if (!match || isRelease || options["include-old"])
|
||||
return match;
|
||||
|
||||
var vr;
|
||||
|
||||
@@ -474,7 +474,7 @@ debugging the Meteor packaging tools themselves.
|
||||
|
||||
>>> search
|
||||
Search through the package server database.
|
||||
Usage: meteor search <regex> [--maintainer <username>] [--show-broken]
|
||||
Usage: meteor search <regex> [--maintainer <username>] [--include-old]
|
||||
|
||||
Search through the meteor package&release database for names containing the
|
||||
specified substring.
|
||||
@@ -483,11 +483,11 @@ Use --maintainer to filter by authorized maintainers.
|
||||
|
||||
By default, meteor search will not show packages that, due to migration issues,
|
||||
are known to not be compatible with Meteor 0.9.0 and later. If you
|
||||
want to see those packages anyway, use the --show-broken option.
|
||||
want to see those packages anyway, use the --include-old option.
|
||||
|
||||
Options:
|
||||
--maintainer filter by authorized maintainer
|
||||
--show-broken show packages incompatible with Meteor 0.9.0 and later.
|
||||
--include-old show packages incompatible with Meteor 0.9.0 and later.
|
||||
|
||||
|
||||
>>> show
|
||||
@@ -501,11 +501,11 @@ version of a package or release.
|
||||
|
||||
By default, meteor show will not show versions that, due to migration issues,
|
||||
are known to not be compatible with Meteor 0.9.0 and later. If you
|
||||
want to see those versions anyway, use the --show-broken option.
|
||||
want to see those versions anyway, use the --include-old option.
|
||||
|
||||
Options:
|
||||
--maintainer filter by authorized maintainer
|
||||
--show-broken show versions incompatible with Meteor 0.9.0 and later.
|
||||
--include-old show versions incompatible with Meteor 0.9.0 and later.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user