From 2ae77423200364d3fb6c1823e4ddfb7542c834fb Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 1 Mar 2021 12:39:52 +0100 Subject: Added bonus doc, Updated command line options doc --- docs/gettingstarted.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/gettingstarted.rst') diff --git a/docs/gettingstarted.rst b/docs/gettingstarted.rst index e45ff38..15c1efc 100644 --- a/docs/gettingstarted.rst +++ b/docs/gettingstarted.rst @@ -12,12 +12,12 @@ Installation Compatibility +++++++++++++ -Your executable **must** support the ``-c`` option which allow to pass command as string. +Your executable **must** support the ``-c`` option which allow to pass command as an argument. .. code-block:: $ bash -c 'echo bonjour je suis | cat -e' - bonjour je suis$ + bonjour he suis$ $ ./minishell -c 'echo bonjour je suis | cat -e' bonjour je suis$ @@ -38,5 +38,5 @@ Run all the predefined tests: .. warning:: If you get ``command not found``, do either of those things: - * ``~/.local/bin`` to your ``PATH`` environment variable. - * run ``$ python3 -m minishell_test`` instead of ``$ minishell_test`` + * Add ``~/.local/bin`` to your ``PATH`` environment variable. + * Run ``$ python3 -m minishell_test`` instead of ``$ minishell_test`` -- cgit