From e2237933447acd5e3910116da1a66c77fe6b29c3 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 24 Feb 2021 08:07:32 +0100 Subject: Updated README instructions --- minishell_test/args.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'minishell_test/args.py') diff --git a/minishell_test/args.py b/minishell_test/args.py index 3dd124f..e88ae7f 100644 --- a/minishell_test/args.py +++ b/minishell_test/args.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:32 by charles #+# #+# # -# Updated: 2021/02/05 20:38:28 by charles ### ########.fr # +# Updated: 2021/02/24 08:03:17 by cacharle ### ########.fr # # # # ############################################################################ # @@ -26,6 +26,14 @@ def parse_args(): Made by cacharle - https://cacharle.xyz """) ) + parser.add_argument( + "-p", "--path", default=config.MINISHELL_DIR, + help="Path to minishell directory" + ) + parser.add_argument( + "-l", "--list", action="store_true", + help="Print available test suites" + ) parser.add_argument( "-k", "--check-leaks", action="store_true", help="Run valgrind on tests (disable usual comparison with bash)" @@ -54,10 +62,6 @@ def parse_args(): "-n", "--no-bonus", action="store_true", help="Disable bonus tests" ) - parser.add_argument( - "-l", "--list", action="store_true", - help="Print available test suites" - ) parser.add_argument( "-m", "--make", action="store_true", help="Make minishell and exit" @@ -66,10 +70,6 @@ def parse_args(): "-g", "--pager", action="store_true", help="After running the test, display the result in a pager of your choice" ) - parser.add_argument( - "-p", "--path", default=config.MINISHELL_DIR, - help="Path to minishell directory" - ) parser.add_argument( "suites", nargs='*', metavar="suite", help=textwrap.dedent("""\ -- cgit