From d859228aa9f8f25a79b1c94a68b859d514f72193 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 11 Jan 2016 16:01:40 -0400 Subject: [PATCH] Stop instructing users to run quickstart as root Elevation is asked in specific steps automatically. --- README.md | 2 -- build/actions/wizard.js | 2 +- doc/cli.markdown | 4 ++-- lib/actions/wizard.coffee | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 04432279..f60e48ed 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,6 @@ $ resin help ### Run the quickstart wizard -Run as `root` on UNIX based systems, and in an administrator command line prompt in Windows. - ```sh $ resin quickstart ``` diff --git a/build/actions/wizard.js b/build/actions/wizard.js index 35f49234..8fbf4ed7 100644 --- a/build/actions/wizard.js +++ b/build/actions/wizard.js @@ -19,7 +19,7 @@ limitations under the License. exports.wizard = { signature: 'quickstart [name]', description: 'getting started with resin.io', - help: 'Use this command to run a friendly wizard to get started with resin.io.\n\nThe wizard will guide you through:\n\n - Create an application.\n - Initialise an SDCard with the resin.io operating system.\n - Associate an existing project directory with your resin.io application.\n - Push your project to your devices.\n\nExamples:\n\n $ sudo resin quickstart\n $ sudo resin quickstart MyApp', + help: 'Use this command to run a friendly wizard to get started with resin.io.\n\nThe wizard will guide you through:\n\n - Create an application.\n - Initialise an SDCard with the resin.io operating system.\n - Associate an existing project directory with your resin.io application.\n - Push your project to your devices.\n\nExamples:\n\n $ resin quickstart\n $ resin quickstart MyApp', permission: 'user', primary: true, action: function(params, options, done) { diff --git a/doc/cli.markdown b/doc/cli.markdown index ef39dfae..821d918c 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -721,6 +721,6 @@ The wizard will guide you through: Examples: - $ sudo resin quickstart - $ sudo resin quickstart MyApp + $ resin quickstart + $ resin quickstart MyApp diff --git a/lib/actions/wizard.coffee b/lib/actions/wizard.coffee index a18ebdff..f91bfeeb 100644 --- a/lib/actions/wizard.coffee +++ b/lib/actions/wizard.coffee @@ -29,8 +29,8 @@ exports.wizard = Examples: - $ sudo resin quickstart - $ sudo resin quickstart MyApp + $ resin quickstart + $ resin quickstart MyApp ''' permission: 'user' primary: true