We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e3169 commit ee40c95Copy full SHA for ee40c95
relenv/toolchain.py
@@ -3,6 +3,7 @@
3
"""
4
The ``relenv toolchain`` command.
5
6
+import sys
7
8
9
def setup_parser(subparsers):
@@ -20,9 +21,11 @@ def main(*args, **kwargs):
20
21
22
Notify users of toolchain command deprecation.
23
- print(
24
- "The relenv toolchain command has been deprecated. Please pip install relenv[toolchain]."
+ sys.stderr.write(
25
+ "The relenv toolchain command has been deprecated. Please pip install relenv[toolchain].\n"
26
)
27
+ sys.stderr.flush()
28
+ sys.exit(1)
29
30
31
if __name__ == "__main__":
0 commit comments