aboutsummaryrefslogtreecommitdiff
path: root/minishell_test
diff options
context:
space:
mode:
Diffstat (limited to 'minishell_test')
-rw-r--r--minishell_test/args.py18
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.