From 2c5417be5cc52f7c76097f85664adda2c976b1e4 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 13 May 2019 10:08:09 -0400 Subject: Fixed parsing issue in case where output redirection (e.g. > file) appears before a pipe. In that case, the pipe was given precedence even though it appeared later in the command. --- tests/conftest.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'tests/conftest.py') diff --git a/tests/conftest.py b/tests/conftest.py index 56538718..9d55eb4d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -77,13 +77,17 @@ optional arguments: -o, --output-file FILE output commands to a script file, implies -s -t, --transcript TRANSCRIPT - output commands and results to a transcript file, implies -s + output commands and results to a transcript file, + implies -s -c, --clear clear all history formatting: - -s, --script output commands in script format, i.e. without command numbers - -x, --expanded output expanded commands instead of entered command - -v, --verbose display history and include expanded commands if they differ from the typed command + -s, --script output commands in script format, i.e. without command + numbers + -x, --expanded output fully parsed commands with any aliases and + macros expanded, instead of typed commands + -v, --verbose display history and include expanded commands if they + differ from the typed command """ -- cgit v1.2.1