commit | eaffde38c8667668b0ffa76694cb78464a5b4f0b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 16 17:59:25 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 16 19:40:13 2016 +0100 |
tree | 1a87d1ab334cb5e81332f6908c62d155d2a2b437 | |
parent | 511321658317b079eee5c2e380cc904959a53653 [diff] |
MINOR: cli: automatically enable a CLI I/O handler when there's no parser Sometimes a registered keyword will not need any specific parsing nor initialization, so it's annoying to have to write an empty parsing function returning zero just for this. This patch makes it possible to automatically call a keyword's I/O handler of when the parsing function is not defined, while still allowing a parser to set the I/O handler itself.