From 47a99431941ebffc7642a63a5d3dea229764a7db Mon Sep 17 00:00:00 2001 From: Petrik Date: Thu, 9 Jul 2020 12:36:45 +0200 Subject: [PATCH] More consistent usage of version option for commands in guides [skip ci] In the getting started guide intro section both `-v` and `--version` are used: $ ruby -v $ sqlite3 --version $ node --version $ yarn -v $ rails --version Both ruby and yarn support `--version` as well, but sqlite3 does not support `-v`. For consistency use `--version` option for `ruby` and `yarn` commands. --- guides/source/getting_started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index d3538b8352..1d01dfe358 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -93,7 +93,7 @@ dollar sign `$` should be run in the command line. Verify that you have a current version of Ruby installed: ```bash -$ ruby -v +$ ruby --version ruby 2.5.0 ``` @@ -139,7 +139,7 @@ instructions at the [Yarn website](https://classic.yarnpkg.com/en/docs/install). Running this command should print out Yarn version: ```bash -$ yarn -v +$ yarn --version ``` If it says something like "1.22.0", Yarn has been installed correctly.