You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pytest_icdiff.py
+14-14
Original file line number
Diff line number
Diff line change
@@ -16,42 +16,42 @@
16
16
17
17
defpytest_addoption(parser):
18
18
parser.addoption(
19
-
"--cols",
19
+
"--icdiff-cols",
20
20
action="store",
21
21
default=None,
22
22
help="pytest-icdiff: specify the width of the screen, in case autodetection fails you",
23
23
)
24
24
parser.addoption(
25
-
"--show-all-spaces",
25
+
"--icdiff-show-all-spaces",
26
26
default=False,
27
27
action="store_true",
28
28
help="pytest-icdiff: color all non-matching whitespace including that which is not needed for drawing the eye to changes. Slow, ugly, displays all changes",
29
29
)
30
30
parser.addoption(
31
-
"--highlight",
31
+
"--icdiff-highlight",
32
32
default=False,
33
33
action="store_true",
34
34
help="pytest-icdiff: color by changing the background color instead of the foreground color. Very fast, ugly, displays all changes",
35
35
)
36
36
parser.addoption(
37
-
"--line-numbers",
37
+
"--icdiff-line-numbers",
38
38
default=False,
39
39
action="store_true",
40
40
help="pytest-icdiff: generate output with line numbers. Not compatible with the 'exclude-lines' option.",
41
41
)
42
42
parser.addoption(
43
-
"--tabsize",
43
+
"--icdiff-tabsize",
44
44
default=2,
45
45
help="pytest-icdiff: tab stop spacing",
46
46
)
47
47
parser.addoption(
48
-
"--truncate",
48
+
"--icdiff-truncate",
49
49
default=False,
50
50
action="store_true",
51
51
help="pytest-icdiff: truncate long lines instead of wrapping them",
52
52
)
53
53
parser.addoption(
54
-
"--strip-trailing-cr",
54
+
"--icdiff-strip-trailing-cr",
55
55
default=False,
56
56
action="store_true",
57
57
help="pytest-icdiff: strip any trailing carriage return at the end of an input line",
0 commit comments