Browse Source

Do not show --gdb in usage/help when not installed system-wide

Closes #1454

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.2
falkTX 3 years ago
parent
commit
c20333e565
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/frontend/carla_shared.py

+ 2
- 1
source/frontend/carla_shared.py View File

@@ -671,7 +671,8 @@ def handleInitialCommandLineArguments(file):
print("")
print(" --cnprefix\t Set a prefix for client names in multi-client mode.")
if isinstance(gCarla.nogui, bool):
print(" --gdb \t Run Carla inside gdb.")
if X_LIBDIR_X is not None:
print(" --gdb \t Run Carla inside gdb.")
print(" -n,--no-gui \t Run Carla headless, don't show UI.")
print("")
print(" -h,--help \t Print this help text and exit.")


Loading…
Cancel
Save