vlib: add 'exit' as alias to 'quit'

Type: improvement
Change-Id: I099739a246dbdb6fdca136d06bc8e4b3f493a839
Signed-off-by: Maxime Peim <mpeim@cisco.com>
This commit is contained in:
Maxime Peim 2024-07-31 17:11:16 +02:00 committed by Beno�t Ganne
parent a67da25008
commit 26a6b19a0e

View File

@ -3329,6 +3329,12 @@ VLIB_CLI_COMMAND (unix_cli_q_command, static) = {
.function = unix_cli_quit,
};
VLIB_CLI_COMMAND (unix_cli_exit_command, static) = {
.path = "exit",
.short_help = "Exit CLI",
.function = unix_cli_quit,
};
/** CLI command to execute a VPP command script. */
static clib_error_t *
unix_cli_exec (vlib_main_t * vm,