From c1ee15e21e5fd2abf915b546ad659b14513fa3df Mon Sep 17 00:00:00 2001 From: Avital Oliver Date: Fri, 17 Oct 2014 14:43:33 -0700 Subject: [PATCH] Tweak comment and help text on --mobile-settings --- tools/commands.js | 4 +++- tools/help.txt | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/commands.js b/tools/commands.js index cfb5c3b8c9..e1a358d1eb 100644 --- a/tools/commands.js +++ b/tools/commands.js @@ -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']; } diff --git a/tools/help.txt b/tools/help.txt index 6d9b4454f9..12a8cdd918 100644 --- a/tools/help.txt +++ b/tools/help.txt @@ -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).