From 4d861c479b1b557139a0e64b90dd1965bcc93b90 Mon Sep 17 00:00:00 2001 From: katarn Date: Sun, 12 Nov 2023 20:18:18 +0100 Subject: [PATCH] docs: move outputs before examples in command line like configuration section --- docs/command-line.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/command-line.md b/docs/command-line.md index a967688a..f6858e7f 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -57,18 +57,15 @@ You can use `SIMPLE_OUTPUT` option in your [configuration](/configuration#output to choose the default output display. ::: code-group -```bash [Example] -./bashunit ./tests --simple -``` ```[Output] ........ ``` +```bash [Example] +./bashunit ./tests --simple +``` ::: ::: code-group -```bash [Example] -./bashunit ./tests --verbose -``` ```[Output] Running tests/functional/logic_test.sh ✓ Passed: Other way of using the exit code @@ -80,6 +77,9 @@ Running tests/functional/logic_test.sh ✓ Passed: Text should not contain ✓ Passed: Text should not match a regular expression ``` +```bash [Example] +./bashunit ./tests --verbose +``` ::: ## Stop on failure @@ -116,12 +116,12 @@ Load a custom env file overriding the `.env` environment variables. Displays the current version of **bashunit**. ::: code-group -```bash [Example] -./bashunit --version -``` ```-vue [Output] bashunit - {{ pkg.version }} ``` +```bash [Example] +./bashunit --version +``` ::: ## Help @@ -131,9 +131,6 @@ bashunit - {{ pkg.version }} Displays a help message with all allowed arguments and options. ::: code-group -```bash [Example] -./bashunit --help -``` ```-vue [Output] bashunit [arguments] [options] @@ -146,6 +143,9 @@ Options: [...] ``` +```bash [Example] +./bashunit --help +``` :::