diff --git a/ixdiagnose/plugins/nvme.py b/ixdiagnose/plugins/nvme.py index 0304764..d3df0c9 100644 --- a/ixdiagnose/plugins/nvme.py +++ b/ixdiagnose/plugins/nvme.py @@ -20,7 +20,7 @@ def get_nvme_devs() -> list[str]: def run_nvme_cmd(action: str, nvme: str) -> str: - header = f"nvme {action} {nvme!r}\n" + header = nvme.title(20, fill_char="#") cp = run(["nvme", action, nvme], check=False) if cp.returncode: footer = f"FAILED: {cp.stderr}\n\n"