diff --git a/e2e/index.js b/e2e/index.js index 1e8aae0..df515e0 100644 --- a/e2e/index.js +++ b/e2e/index.js @@ -18,5 +18,5 @@ const matchSnapshot = async (t, arg) => { test('shows help with -h flag', matchSnapshot, '-h'); test('shows help with --help flag', matchSnapshot, '--help'); -test('shows help with -v flag', matchSnapshot, '-v'); -test('shows help with --version flag', matchSnapshot, '--version'); \ No newline at end of file +test('shows version information with -v flag', matchSnapshot, '-v'); +test('shows version information with --version flag', matchSnapshot, '--version'); \ No newline at end of file diff --git a/e2e/index.js.md b/e2e/index.js.md index 674e8b5..3c29dfb 100644 --- a/e2e/index.js.md +++ b/e2e/index.js.md @@ -48,15 +48,6 @@ Generated by [AVA](https://ava.li). Development:␊ https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md` -## shows help with -v flag - -> Snapshot 1 - - `␊ - docsify-cli version:␊ - 4.4.0␊ - ` - ## shows up help message without any args > Snapshot 1 @@ -81,7 +72,16 @@ Generated by [AVA](https://ava.li). ␊ [ERROR] 0 arguments passed. Please specify a command` -## shows help with --version flag +## shows version information with --version flag + +> Snapshot 1 + + `␊ + docsify-cli version:␊ + 4.4.0␊ + ` + +## shows version information with -v flag > Snapshot 1 diff --git a/e2e/index.js.snap b/e2e/index.js.snap index 1a4dca7..785f20a 100644 Binary files a/e2e/index.js.snap and b/e2e/index.js.snap differ