Skip to content

Commit 88418ab

Browse files
rdevitiRoberta De Viti
authored and
Roberta De Viti
committed
Make tidy output conditional on the execute attribute.
1 parent d472eb7 commit 88418ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Compiler/compilerLib.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,6 @@ def build_option_parser(self):
240240
dest="verbose",
241241
help="more verbose output",
242242
)
243-
parser.add_option(
244-
"-t",
245-
"--tidy_output",
246-
action="store_true",
247-
dest="tidy_output",
248-
help="output prints tidy and grouped by party (note: it delays outputs)",
249-
)
250243
if self.execute:
251244
parser.add_option(
252245
"-E",
@@ -260,6 +253,13 @@ def build_option_parser(self):
260253
dest="hostfile",
261254
help="hosts to execute with",
262255
)
256+
parser.add_option(
257+
"-t",
258+
"--tidy_output",
259+
action="store_true",
260+
dest="tidy_output",
261+
help="make output prints tidy and grouped by party (note: delays the prints)",
262+
)
263263
else:
264264
parser.add_option(
265265
"-E",

0 commit comments

Comments
 (0)