diff --git a/README.md b/README.md index 2ee75fd..2659a90 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,8 @@ python qbit_manage.py -h | Shell Command | Description | Default Value | | :------------ | :------------ | :------------ | +| `--run` | Run without the scheduler. Script will exit after completion. | False | +| `-sch` or `--schedule` | Schedule to run every x minutes. (Default set to 30) | 30 | | `-c CONFIG` or `--config-file CONFIG` | This is used if you want to use a different name for your config.yml. `Example: tv.yml` | config.yml | | `-l LOGFILE,` or `--log-file LOGFILE,` | This is used if you want to use a different name for your log file. `Example: tv.log` | activity.log | | `-m` or `--manage` | Use this if you would like to update your tags, categories, remove unregistered torrents, recheck/resume paused torrents, and empty recycle bin. | | diff --git a/qbit_manage.py b/qbit_manage.py index 5e22631..9911b60 100644 --- a/qbit_manage.py +++ b/qbit_manage.py @@ -23,7 +23,7 @@ if sys.version_info[0] != 3 or sys.version_info[1] < 6: parser = argparse.ArgumentParser('qBittorrent Manager.', description='A mix of scripts combined for managing qBittorrent.') -parser.add_argument("--run", dest="run", help="Run without the scheduler", action="store_true", default=False) +parser.add_argument("--run", dest="run", help="Run without the scheduler. Script will exit after completion.", action="store_true", default=False) parser.add_argument("-sch", "--schedule", dest="sch", help="Schedule to run every x minutes. (Default set to 30)", default=30, type=int) parser.add_argument('-c', '--config-file', dest='config', @@ -855,7 +855,7 @@ if __name__ == '__main__': logger.info(f" Version: {version}") try: if run: - logger.info(f" Run Mode: Script will exit after one run.") + logger.info(f" Run Mode: Script will exit after completion.") start() else: schedule.every(sch).minutes.do(start)