From 9867de7a41caa248c9c8e6702161b20e7e20f8d4 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 5 Dec 2016 14:59:16 +0200 Subject: [PATCH] Rename `pio account info` command to `pio account show` --- docs/userguide/account/{cmd_info.rst => cmd_show.rst} | 6 +++--- docs/userguide/account/index.rst | 2 +- platformio/commands/account.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename docs/userguide/account/{cmd_info.rst => cmd_show.rst} (91%) diff --git a/docs/userguide/account/cmd_info.rst b/docs/userguide/account/cmd_show.rst similarity index 91% rename from docs/userguide/account/cmd_info.rst rename to docs/userguide/account/cmd_show.rst index cf898136..6be91a72 100644 --- a/docs/userguide/account/cmd_info.rst +++ b/docs/userguide/account/cmd_show.rst @@ -9,9 +9,9 @@ See the License for the specific language governing permissions and limitations under the License. -.. _cmd_account_info: +.. _cmd_account_show: -platformio account info +platformio account show ======================= .. contents:: @@ -21,7 +21,7 @@ Usage .. code-block:: bash - platformio account info + platformio account show Description diff --git a/docs/userguide/account/index.rst b/docs/userguide/account/index.rst index 04409e4a..5265d304 100644 --- a/docs/userguide/account/index.rst +++ b/docs/userguide/account/index.rst @@ -35,9 +35,9 @@ To print all available commands and options use: :maxdepth: 2 cmd_forgot - cmd_info cmd_login cmd_logout cmd_password cmd_register + cmd_show cmd_token diff --git a/platformio/commands/account.py b/platformio/commands/account.py index 0afe4c9a..17e50827 100644 --- a/platformio/commands/account.py +++ b/platformio/commands/account.py @@ -61,6 +61,6 @@ def account_forgot(**kwargs): pioplus_call(sys.argv[1:]) -@cli.command("info", short_help="PIO Account information: groups, permissions") -def account_info(): +@cli.command("show", short_help="PIO Account information: groups, permissions") +def account_show(): pioplus_call(sys.argv[1:])