update version, change help text

This commit is contained in:
2025-01-30 11:10:20 +01:00
parent df2f9af726
commit 8b8c115091
3 changed files with 12 additions and 5 deletions

View File

@@ -18,4 +18,5 @@ commit_args = ""
filename = ".version"
[[tool.bumpversion.files]]
filename = "src/__init__.py"
[[tool.bumpversion.files]]
filename = "pyproject.toml"

View File

@@ -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"

View File

@@ -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()