diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-24 08:07:32 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-24 08:07:32 +0100 |
| commit | e2237933447acd5e3910116da1a66c77fe6b29c3 (patch) | |
| tree | d7f697cee1d71c8a1628c0b09c1cd499c2e36ba8 /minishell_test/args.py | |
| parent | 72e316d971d31a1d62b9a7019ceac1178657a55b (diff) | |
| download | minishell_test-e2237933447acd5e3910116da1a66c77fe6b29c3.tar.gz minishell_test-e2237933447acd5e3910116da1a66c77fe6b29c3.tar.bz2 minishell_test-e2237933447acd5e3910116da1a66c77fe6b29c3.zip | |
Updated README instructions
Diffstat (limited to 'minishell_test/args.py')
| -rw-r--r-- | minishell_test/args.py | 18 |
1 files changed, 9 insertions, 9 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 # # # # ############################################################################ # @@ -27,6 +27,14 @@ def parse_args(): """) ) 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)" ) @@ -55,10 +63,6 @@ def parse_args(): 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" ) @@ -67,10 +71,6 @@ def parse_args(): 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("""\ Test suites/group to run. |
