mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Tweak comment and help text on --mobile-settings
This commit is contained in:
@@ -664,7 +664,9 @@ var buildCommand = function (options) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// XXX 'mobile-settings' is an alias for 'settings' for the build command
|
||||
// options['mobile-settings'] is used to set the initial value of
|
||||
// `Meteor.settings` on mobile apps. Pass it on to options.settings,
|
||||
// which is used in this command.
|
||||
if (options['mobile-settings']) {
|
||||
options.settings = options['mobile-settings'];
|
||||
}
|
||||
|
||||
@@ -265,8 +265,10 @@ Options:
|
||||
--directory Output a directory (rather than a tarball) for the
|
||||
application server bundle. If the output location exists,
|
||||
it will be recursively deleted first.
|
||||
--mobile-settings Set optional data for Meteor.settings available on mobile
|
||||
applications' first launch.
|
||||
--mobile-settings Set optional data for the initial value of Meteor.settings
|
||||
in your mobile application. A new value for
|
||||
Meteor.settings can be set later by the server as part of
|
||||
hot code push.
|
||||
--server Location where mobile builds connect to the Meteor server.
|
||||
Defaults to localhost:3000. Can include a URL scheme
|
||||
(for example, --server=https://example.com:443).
|
||||
|
||||
Reference in New Issue
Block a user