diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2019-10-31 17:31:10 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2019-11-29 13:54:10 +0800 |
commit | 61ede5e0bea7d999acfdda9931e5c1f3c13c0694 (patch) | |
tree | c04dd631b7fff42b2b6511016b9e056d80102f27 /COPYING | |
parent | e558da19475d747e6f8e83d07305d35da33102f9 (diff) | |
download | talos-petitboot-61ede5e0bea7d999acfdda9931e5c1f3c13c0694.tar.gz talos-petitboot-61ede5e0bea7d999acfdda9931e5c1f3c13c0694.zip |
discover/grub2: Use getopt for `search` argument parsing
The search command will be extended to add the full set of grub2-style
arguments, so switch to using getopt, rather than manual parsing.
This means we now support `--set=foo` and `--set foo` style arguments,
both of which appear in the docs and common grub configs.
Also, add a small test for the search argument handling.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions