Fix usage headline
This commit is contained in:
parent
2985a23167
commit
c39310f6fc
|
@ -55,6 +55,9 @@ def generate_usage_md(script: str, version: str):
|
|||
cli = getattr(mod, cliobj)
|
||||
|
||||
with open("USAGE.md", "wt") as fd:
|
||||
if "." in module_name:
|
||||
module_name = module_name.split(".")[0]
|
||||
|
||||
print(
|
||||
f"# {module_name.capitalize()} v{version} - {script_name} - Command Usage Overview", file=fd
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|||
|
||||
[tool.poetry]
|
||||
name = "clickusagemd"
|
||||
version = "0.8.4"
|
||||
version = "0.8.5"
|
||||
description = ""
|
||||
authors = ["Jules <jules@deutschebahn.com>"]
|
||||
packages = [
|
||||
|
|
Loading…
Reference in New Issue