From 9c7b36e1d8fb046d7cf4a885beb3bcb2d196af63 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 4 Mar 2015 14:47:46 -0400 Subject: [PATCH] Improve resin update help section --- build/actions/update.js | 2 +- doc/update/update.md | 5 +++++ lib/actions/update.coffee | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/build/actions/update.js b/build/actions/update.js index 580ead26..f865130d 100644 --- a/build/actions/update.js +++ b/build/actions/update.js @@ -12,7 +12,7 @@ exports.update = { signature: 'update', description: 'update the resin cli', - help: 'Use this command to update the Resin CLI\n\nThis command outputs information about the update process.\nUse `--quiet` to remove that output.\n\nExamples:\n\n $ resin update', + help: 'Use this command to update the Resin CLI\n\nThis command outputs information about the update process.\nUse `--quiet` to remove that output.\n\nThe Resin CLI checks for updates once per day.\n\nMajor updates require a manual update with this update command,\nwhile minor updates are applied automatically.\n\nExamples:\n\n $ resin update', action: function(params, options, done) { return async.waterfall([ function(callback) { diff --git a/doc/update/update.md b/doc/update/update.md index c76981ff..76cd06e8 100644 --- a/doc/update/update.md +++ b/doc/update/update.md @@ -5,6 +5,11 @@ Use this command to update the Resin CLI This command outputs information about the update process. Use `--quiet` to remove that output. +The Resin CLI checks for updates once per day. + +Major updates require a manual update with this update command, +while minor updates are applied automatically. + Examples: $ resin update diff --git a/lib/actions/update.coffee b/lib/actions/update.coffee index 1c467fa6..14845763 100644 --- a/lib/actions/update.coffee +++ b/lib/actions/update.coffee @@ -12,6 +12,11 @@ exports.update = This command outputs information about the update process. Use `--quiet` to remove that output. + The Resin CLI checks for updates once per day. + + Major updates require a manual update with this update command, + while minor updates are applied automatically. + Examples: $ resin update