Tweak comment and help text on --mobile-settings

This commit is contained in:
Avital Oliver
2014-10-17 14:43:33 -07:00
parent 00658816b1
commit c1ee15e21e
2 changed files with 7 additions and 3 deletions

View File

@@ -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'];
}

View File

@@ -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).