#1109412 /usr/bin/grub-file: grub-file: Using the --version argument returns the version but says it is an unknown argument

Package:
grub-common
Source:
grub-common
Description:
GRand Unified Bootloader (common files)
Submitter:
Huey Chen
Date:
2025-07-17 03:19:02 UTC
Severity:
normal
#1109412#5
Date:
2025-07-17 03:16:22 UTC
From:
To:
Dear Maintainer,

This is quite a minor bug, but running `grub-file --version` returns the version information and also `error: unknown argument `--version'.`
What should happen is that the error should not appear.

Also, `grub-file --help` does not list `--version` as an option, as well as the manpage.

Sincerely,
Huey Chen