diff options
| author | David Lamparter <equinox@diac24.net> | 2021-04-08 12:57:58 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-06-18 20:56:53 +0200 |
| commit | 9c2aa9192198769264df3d127332358b73983aed (patch) | |
| tree | 5574df650e2456d46ab301124e038e723d4e87f6 /lib/compiler.h | |
| parent | d7193080afe3f9601da84488ea5a3057df56e39a (diff) | |
lib: de-conflict `log-filter` CLI command
`log-filter WORD` was giving me a serious headache since it also matches
`log WORD` due to the way the CLI token handling works. This meant that
a mistyped `log something` command would silently be interpreted as a
filter string, causing me serious headscratching and WTFs until I
figured what was going on.
Remove this UX pitfall so noone else falls into it. (Since the command
was never saved to config, renaming it shouldn't cause trouble.)
[Also I apparently forgot to update the docs when I transferred this
over to the new zlog bits...]
TODO for a rainy day: since we collect all the CLI commands anyway, we
should warn somewhere for "2nd level ambiguous" commands like this.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
