From 84900aa5888ea190d1d8247efc709b6cb56d37f7 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 27 Apr 2015 10:51:26 -0400 Subject: [PATCH] Remove outdated uuid checking help message --- build/actions/logs.js | 2 +- doc/cli.markdown | 21 ++++++++++----------- lib/actions/logs.coffee | 3 +-- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/build/actions/logs.js b/build/actions/logs.js index b21d09d9..75cf8d9a 100644 --- a/build/actions/logs.js +++ b/build/actions/logs.js @@ -10,7 +10,7 @@ exports.logs = { signature: 'logs ', description: 'show device logs', - help: 'Use this command to show logs for a specific device.\n\nBy default, the command prints all log messages and exit.\n\nTo limit the output to the n last lines, use the `--num` option along with a number.\nThis is similar to doing `resin logs | tail -n X`.\n\nTo continuously stream output, and see new logs in real time, use the `--tail` option.\n\nNote that for now you need to provide the whole UUID for this command to work correctly,\nand the tool won\'t notice if you\'re using an invalid UUID.\n\nThis is due to some technical limitations that we plan to address soon.\n\nExamples:\n\n $ resin logs 23c73a12e3527df55c60b9ce647640c1b7da1b32d71e6a39849ac0f00db828\n $ resin logs 23c73a12e3527df55c60b9ce647640c1b7da1b32d71e6a39849ac0f00db828 --num 20\n $ resin logs 23c73a12e3527df55c60b9ce647640c1b7da1b32d71e6a39849ac0f00db828 --tail', + help: 'Use this command to show logs for a specific device.\n\nBy default, the command prints all log messages and exit.\n\nTo limit the output to the n last lines, use the `--num` option along with a number.\nThis is similar to doing `resin logs | tail -n X`.\n\nTo continuously stream output, and see new logs in real time, use the `--tail` option.\n\nNote that for now you need to provide the whole UUID for this command to work correctly.\n\nThis is due to some technical limitations that we plan to address soon.\n\nExamples:\n\n $ resin logs 23c73a12e3527df55c60b9ce647640c1b7da1b32d71e6a39849ac0f00db828\n $ resin logs 23c73a12e3527df55c60b9ce647640c1b7da1b32d71e6a39849ac0f00db828 --num 20\n $ resin logs 23c73a12e3527df55c60b9ce647640c1b7da1b32d71e6a39849ac0f00db828 --tail', options: [ { signature: 'num', diff --git a/doc/cli.markdown b/doc/cli.markdown index a28f8856..f80e9e7e 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -26,10 +26,10 @@ Now you have access to all the commands referenced below. - Authentication - - [whoami](#/pages/using/cli.md#whoami) - [login [token]](#/pages/using/cli.md#login-token-) - [logout](#/pages/using/cli.md#logout) - [signup](#/pages/using/cli.md#signup) + - [whoami](#/pages/using/cli.md#whoami) - Device @@ -197,14 +197,6 @@ Examples: # Authentication -## whoami - -Use this command to find out the current logged in username. - -Examples: - - $ resin whoami - ## login [token] Use this command to login to your resin.io account. @@ -258,6 +250,14 @@ user name user password +## whoami + +Use this command to find out the current logged in username. + +Examples: + + $ resin whoami + # Device ## devices @@ -574,8 +574,7 @@ This is similar to doing `resin logs | tail -n X`. To continuously stream output, and see new logs in real time, use the `--tail` option. -Note that for now you need to provide the whole UUID for this command to work correctly, -and the tool won't notice if you're using an invalid UUID. +Note that for now you need to provide the whole UUID for this command to work correctly. This is due to some technical limitations that we plan to address soon. diff --git a/lib/actions/logs.coffee b/lib/actions/logs.coffee index f8e0d120..268d221b 100644 --- a/lib/actions/logs.coffee +++ b/lib/actions/logs.coffee @@ -16,8 +16,7 @@ exports.logs = To continuously stream output, and see new logs in real time, use the `--tail` option. - Note that for now you need to provide the whole UUID for this command to work correctly, - and the tool won't notice if you're using an invalid UUID. + Note that for now you need to provide the whole UUID for this command to work correctly. This is due to some technical limitations that we plan to address soon.