From c0aea95b9e5cf50b814698717bdf0ba74f57bc0b Mon Sep 17 00:00:00 2001 From: Patrick Stadler Date: Tue, 6 Oct 2015 19:53:56 +0200 Subject: [PATCH] fix docs, bump version --- README.md | 4 ++-- lib/transport/index.js | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a1fe0cd..4b54b19 100644 --- a/README.md +++ b/README.md @@ -459,10 +459,10 @@ will be executed is "root". This can be changed by passing `user: "name"` with the second argument: ```javascript -// will run: sudo -u root -i bash -c 'Hello world' +// will run: sudo -u root -i 'Hello world' transport.sudo('echo Hello world'); -// will run sudo -u www -i bash -c 'Hello world' +// will run sudo -u www -i 'Hello world' transport.sudo('echo Hello world', {user: 'www'}); // further options passed (see `exec()`) diff --git a/lib/transport/index.js b/lib/transport/index.js index ca9fe88..3ce361e 100644 --- a/lib/transport/index.js +++ b/lib/transport/index.js @@ -144,10 +144,10 @@ Transport.prototype.exec = function(command, options) { * `user: "name"` with the second argument: * * ```javascript - * // will run: sudo -u root -i bash -c 'Hello world' + * // will run: sudo -u root -i 'Hello world' * transport.sudo('echo Hello world'); * - * // will run sudo -u www -i bash -c 'Hello world' + * // will run sudo -u www -i 'Hello world' * transport.sudo('echo Hello world', {user: 'www'}); * * // further options passed (see `exec()`) diff --git a/package.json b/package.json index 6f90749..5dabc9e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flightplan", "description": "Library for streamlining application deployment or systems administration tasks", - "version": "0.6.4", + "version": "0.6.5", "author": "Patrick Stadler ", "keywords": [ "deploy",