Skip to content

Commit 7411aca

Browse files
committed
Add application_id back
1 parent 4341669 commit 7411aca

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/rerun_loader_urdf/__init__.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ def main() -> None:
271271
)
272272
parser.add_argument("filepath", type=str)
273273

274+
parser.add_argument(
275+
"--application-id",
276+
type=str,
277+
help="Recommended ID for the application",
278+
)
274279
parser.add_argument(
275280
"--opened-application-id",
276281
type=str,
@@ -310,8 +315,8 @@ def main() -> None:
310315
if not is_file or not is_urdf_file:
311316
exit(rr.EXTERNAL_DATA_LOADER_INCOMPATIBLE_EXIT_CODE)
312317

313-
if args.opened_application_id is not None:
314-
app_id = args.opened_application_id
318+
if args.application_id is not None:
319+
app_id = args.application_id
315320
else:
316321
app_id = args.filepath
317322

0 commit comments

Comments
 (0)