We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3631273 commit f8ea2a8Copy full SHA for f8ea2a8
1 file changed
mkconcore.py
@@ -107,11 +107,11 @@ def _resolve_concore_path():
107
return SCRIPT_DIR
108
109
if len(sys.argv) < 4:
110
- print("Usage: python mkconcore.py <GRAPHML_FILE> <sourcedir> <outdir> [type]")
111
- print(" type must be posix (macos or ubuntu), windows, or docker")
112
- sys.exit(1)
+ logging.error("Usage: python mkconcore.py <GRAPHML_FILE> <sourcedir> <outdir> [type]")
+ logging.error(" type must be posix (macos or ubuntu), windows, or docker")
+ quit()
113
114
-GRAPHML_FILE = sys.argv[1]
+GRAPHML_FILE = safe_name(sys.argv[1], "GRAPHML file argument", allow_path=True)
115
TRIMMED_LOGS = True
116
CONCOREPATH = _resolve_concore_path()
117
CPPWIN = "g++" #Windows C++ 6/22/21
0 commit comments