* Extended CLI_PROMPT syntax with %W as working path in tree, which more concretely is a path to the current position in a syntax tree in the autocli.

* Comments on clixon-config.yang
This commit is contained in:
Olof hagsand 2020-10-12 11:19:43 +02:00
parent f8ac8cc14b
commit 8d901e1fde
3 changed files with 29 additions and 13 deletions

View file

@ -53,7 +53,7 @@ char *cli_syntax_mode(clicon_handle h);
int cli_syntax_load(clicon_handle h);
int cli_handler_err(FILE *fd);
int cli_set_prompt(clicon_handle h, const char *mode, const char *prompt);
char *cli_prompt(char *fmt);
char *cli_prompt(clicon_handle h, char *fmt);
int cli_ptpush(clicon_handle h, char *mode, char *string, char *op);
int cli_ptpop(clicon_handle h, char *mode, char *op);