Browse Source

Merge e429db4479 into 2187c061bf

pull/283/merge
Daniel Hauck GitHub 1 year ago
parent
commit
e923b00170
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      src/cadence.py

+ 14
- 0
src/cadence.py View File

@@ -2356,6 +2356,20 @@ def runFunctionInMainThread(task):

#--------------- main ------------------
if __name__ == '__main__':
# Show help
if "--help" in sys.argv or "-h" in sys.argv:
print(f"""cadence {VERSION}

USAGE:
cadence [FLAGS]

FLAGS:
--help, -h
show this help
--minimized
start minimized in the tray""")
sys.exit()

# App initialization
app = QApplication(sys.argv)
app.setApplicationName("Cadence")


Loading…
Cancel
Save