From 8c3e832cdc3f1598dc1ef19d34a6a3bde41e888e Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 1 Sep 2015 00:56:01 +0300 Subject: [PATCH] Replace device name with uuid in env-variables command example --- build/actions/environment-variables.js | 2 +- lib/actions/environment-variables.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/actions/environment-variables.js b/build/actions/environment-variables.js index 3133bd90..18434ce6 100644 --- a/build/actions/environment-variables.js +++ b/build/actions/environment-variables.js @@ -69,7 +69,7 @@ exports.add = { signature: 'env add [value]', description: 'add an environment variable', - help: 'Use this command to add an enviroment variable to an application.\n\nIf value is omitted, the tool will attempt to use the variable\'s value\nas defined in your host machine.\n\nUse the `--device` option if you want to assign the environment variable\nto a specific device.\n\nIf the value is grabbed from the environment, a warning message will be printed.\nUse `--quiet` to remove it.\n\nExamples:\n\n $ resin env add EDITOR vim --application MyApp\n $ resin env add TERM --application MyApp\n $ resin env add EDITOR vim --device MyDevice', + help: 'Use this command to add an enviroment variable to an application.\n\nIf value is omitted, the tool will attempt to use the variable\'s value\nas defined in your host machine.\n\nUse the `--device` option if you want to assign the environment variable\nto a specific device.\n\nIf the value is grabbed from the environment, a warning message will be printed.\nUse `--quiet` to remove it.\n\nExamples:\n\n $ resin env add EDITOR vim --application MyApp\n $ resin env add TERM --application MyApp\n $ resin env add EDITOR vim --device 7cf02a62a3a84440b1bb5579a3d57469148943278630b17e7fc6c4f7b465c9', options: [commandOptions.optionalApplication, commandOptions.optionalDevice], permission: 'user', action: function(params, options, done) { diff --git a/lib/actions/environment-variables.coffee b/lib/actions/environment-variables.coffee index f8e8dcbf..c40baae6 100644 --- a/lib/actions/environment-variables.coffee +++ b/lib/actions/environment-variables.coffee @@ -108,7 +108,7 @@ exports.add = $ resin env add EDITOR vim --application MyApp $ resin env add TERM --application MyApp - $ resin env add EDITOR vim --device MyDevice + $ resin env add EDITOR vim --device 7cf02a62a3a84440b1bb5579a3d57469148943278630b17e7fc6c4f7b465c9 ''' options: [ commandOptions.optionalApplication