A number of small fixes to comments/description in the blsuki command.
Also add a check that no arguments are supplied (none are expected) and
if any are found display an error instead of ignoring them silently.

The only change in behaviour is in the fallback case for blscfg, where
currently it always falls back to the device pointed by $root, even if
another one was specified via the -p option.

v2:
 * Moved the no arguments check to caller functions
 * Added description of typo fix in patch #1

v3:
 * Added more details in commit message of patch#2 
 * Rephrased error in patch#5 from "no arguments expected, see --help"
   to "unexpected argument(s) found, see --help" and added more details
   in commit message

Radoslav Kolev (5):
  blsuki: fix typo in entry parameter description
  blsuki: fix position of DIR parameter in blscfg command summary
  blsuki: use specified device in case of fallback
  blsuki: fix default location in commment to /loader/entries
  blsuki: error out if unexpected arguments are supplied

 grub-core/commands/blsuki.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

-- 
2.51.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to