diff options
author | Dave Reisner <dreisner@archlinux.org> | 2016-07-06 13:22:16 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-07-07 14:30:59 +0200 |
commit | b9308a5296fc0dc8da78cd6f02a5af9c38f0a044 (patch) | |
tree | ecfa5b08409b65424cdcf4a063bc0d33fecbd5c2 /lsinitcpio | |
parent | a089c8622708d5249aa7830590464fb29dc799a4 (diff) | |
download | mkinitcpio-b9308a5296fc0dc8da78cd6f02a5af9c38f0a044.tar.gz mkinitcpio-b9308a5296fc0dc8da78cd6f02a5af9c38f0a044.tar.xz |
refactor parse_cmdline into something more readable
This refactors parse_cmdline into a few chunks of code, mainly to
separate the work of parsing from the handling of the actual parsed
parameters. By default, parse_cmdline_item is used as the callback for
handling the parameters, but this could be overriden by other code
sourcing init_functions if desirable.
Our test harness passes more tests, but we leave behind some expected
failures to describe the cases where it still fails. Fortunately I've
not yet been able to find any cases which warrant --expect-parse-fail.
Diffstat (limited to 'lsinitcpio')
0 files changed, 0 insertions, 0 deletions