summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2010-11-21 16:58:30 +0100
committerMichael Brown2010-11-21 21:38:26 +0100
commit216fd0a5cf3f017a19f5ad0006011637dcfa9a5b (patch)
tree4e599beb5adbcfa9241c9eeade12f0ef2efcccd3 /src/include/usr
parent[autoboot] Add "netboot" command (diff)
downloadipxe-216fd0a5cf3f017a19f5ad0006011637dcfa9a5b.tar.gz
ipxe-216fd0a5cf3f017a19f5ad0006011637dcfa9a5b.tar.xz
ipxe-216fd0a5cf3f017a19f5ad0006011637dcfa9a5b.zip
[parseopt] Add generic option-parsing library
Command implementations tend to include a substantial amount of common boilerplate code revolving around the parsing of command-line options and arguments. This increases the size cost of each command. Introduce an option-parsing library that abstracts out the common operations involved in command implementations. This enables the size of each individual command to be reduced, and also enhances consistency between commands. Total size of the library is 704 bytes, to be amortised across all command implementations. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
0 files changed, 0 insertions, 0 deletions