Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | discover/grub2: test for (ignored) --no-floppy argument | Jeremy Kerr | 2019-11-29 | 1 | -2/+4 |
| | | | | | | | --no-floppy is used almost everywhere, so add it to the tests. The code will already ignore unknown arguments, but ensure that this works OK. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | ||||
* | discover/grub2: Use getopt for `search` argument parsing | Jeremy Kerr | 2019-11-29 | 1 | -0/+33 |
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> |