diff --git a/src/cadence.py b/src/cadence.py index 87a14a8..82bdbb6 100755 --- a/src/cadence.py +++ b/src/cadence.py @@ -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")