diff --git a/.bumpversion.toml b/.bumpversion.toml index 60601a7..71e49e5 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -18,4 +18,5 @@ commit_args = "" filename = ".version" [[tool.bumpversion.files]] filename = "src/__init__.py" - +[[tool.bumpversion.files]] +filename = "pyproject.toml" diff --git a/pyproject.toml b/pyproject.toml index 3534f13..63944a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "librarysystem" -version = "0.2.3" +version = "0.3.1" description = "A library system for loaning books and managing the users." readme = "README.md" requires-python = ">=3.12" diff --git a/src/__init__.py b/src/__init__.py index ab63304..aaf1308 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -19,11 +19,17 @@ _config = Config("config/settings.yaml")._config args = argparse.ArgumentParser() -args.add_argument("--debug", help="Debugging mode", action="store_true") -args.add_argument("--no-backup", help="Disable backups", action="store_true") +args.add_argument( + "--debug", help="Debugging mode, active for the active run", action="store_true" +) +args.add_argument( + "--no-backup", help="Disable backups for the active run", action="store_true" +) args.add_argument("--version", help="Print version", action="store_true") args.add_argument( - "--no-documentation", help="Disable documentation", action="store_true" + "--no-documentation", + help="Disable documentation for the active run", + action="store_true", ) args = args.parse_args()