diff options
author | Martin Mares <mj@ucw.cz> | 2000-02-17 22:00:13 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-02-17 22:00:13 +0000 |
commit | 0223d4fff11badc03470b4320fa9dfe28afd1bed (patch) | |
tree | b4281ed75395e0f219c3dc7fb2cc97f6282769db /conf/gen_commands.m4 | |
parent | c51f132d582632037b4ef064fbd32d785af245fc (diff) |
Client: Online help works (Cisco style: just press `?' at the end of a line).
Diffstat (limited to 'conf/gen_commands.m4')
-rw-r--r-- | conf/gen_commands.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/gen_commands.m4 b/conf/gen_commands.m4 index cba10b40..a88ba014 100644 --- a/conf/gen_commands.m4 +++ b/conf/gen_commands.m4 @@ -7,9 +7,10 @@ m4_divert(-1)m4_dnl # Can be freely distributed and used under the terms of the GNU GPL. # -m4_define(CF_CLI, `CF_CLI_HELP($1, $3, $4)') +m4_define(CF_CLI, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$3", "$4", 1 }, +m4_divert(-1)') -m4_define(CF_CLI_HELP, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$2", "$3" }, +m4_define(CF_CLI_HELP, `m4_divert(0){ "m4_translit($1,A-Z,a-z)", "$2", "$3", 0 }, m4_divert(-1)') # As we are processing C source, we must access all M4 primitives via |