Formatting cruft
Signed-off-by: coleramos425 <colramos@amd.com>
[ROCm/rocprofiler-compute commit: b3df8b9032]
이 커밋은 다음에 포함됨:
1 부모
186deb0533
커밋
e97232d1c3
2 파일이 변경됨
+3
-3
검색과 일치하는 파일 없음
@@ -171,7 +171,7 @@ def run_gui(args, runs):
|
||||
args.verbose,
|
||||
args,
|
||||
)
|
||||
if(args.random_port):
|
||||
if args.random_port:
|
||||
app.run_server(debug=False, host="0.0.0.0", port=random.randint(1024, 49151))
|
||||
else:
|
||||
app.run_server(debug=False, host="0.0.0.0", port=args.gui)
|
||||
@@ -285,7 +285,7 @@ def analyze(args):
|
||||
if args.gui:
|
||||
run_gui(args, runs)
|
||||
else:
|
||||
if(args.random_port):
|
||||
if args.random_port:
|
||||
print("ERROR: --gui flag required to enable --random-port")
|
||||
sys.exit(1)
|
||||
run_cli(args, runs)
|
||||
@@ -490,5 +490,5 @@ def parse(my_parser):
|
||||
analyze_group.add_argument(
|
||||
"--random-port",
|
||||
action="store_true",
|
||||
help="\t\tRandomly generate a port to launch GUI application.\n\t\tRegistered Ports range inclusive (1024-49151)."
|
||||
help="\t\tRandomly generate a port to launch GUI application.\n\t\tRegistered Ports range inclusive (1024-49151).",
|
||||
)
|
||||
새 이슈에서 참조
사용자 차단