]> git.ipfire.org Git - thirdparty/bird.git/blame - conf/gen_commands.m4
Merge commit '60880b539b8886f76961125d89a265c6e1112b7a' into haugesund
[thirdparty/bird.git] / conf / gen_commands.m4
CommitLineData
f50b9e48
MM
1m4_divert(-1)m4_dnl
2#
3# BIRD -- Generator of CLI Command List
4#
5# (c) 2000 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
6#
7# Can be freely distributed and used under the terms of the GNU GPL.
8#
9
0223d4ff
MM
10m4_define(CF_CLI, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$3", "$4", 1 },
11m4_divert(-1)')
f50b9e48 12
a92cf57d
OZ
13m4_define(CF_CLI_CMD, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$2", "$3", 1 },
14m4_divert(-1)')
15
0223d4ff 16m4_define(CF_CLI_HELP, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$2", "$3", 0 },
f50b9e48
MM
17m4_divert(-1)')
18
19# As we are processing C source, we must access all M4 primitives via
20# m4_* and also set different quoting convention: `[[' and ']]'
21m4_changequote([[,]])