Docs: Add version command (#7719)

* Docs: Add version command

* adding to
This commit is contained in:
Brian Shumate 2019-10-25 12:25:04 -04:00 committed by Chris Hoffman
parent efb2751e00
commit a83160617e
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,24 @@
---
layout: "docs"
page_title: "version - Command"
sidebar_title: "<code>version</code>"
sidebar_current: "docs-commands-version"
description: |-
The "version" command prints the version of Vault.
---
# version
The `version` command prints the Vault version:
```
$ vault version
Vault v1.2.3
```
It can also be printed by adding the flags `--version` or `-v` to the `vault` command:
```
$ vault -v
Vault v1.2.3
```

View file

@ -184,6 +184,7 @@
]
},
'unwrap',
'version',
'write',
'token-helper'
]