CLI configurable format: [Default format should be configurable](https://github.com/clicon/clixon-controller/issues/87)
Added option: `CLICON_CLI_OUTPUT_FORMAT` - Default CLI output format
This commit is contained in:
parent
bd3a841103
commit
60a774cbf7
18 changed files with 168 additions and 83 deletions
|
|
@ -286,7 +286,7 @@ pipe_showas_fn(clixon_handle h,
|
|||
goto done;
|
||||
}
|
||||
if (cvec_len(argv) > argc){
|
||||
if (cli_show_option_format(argv, argc++, &format) < 0)
|
||||
if (cli_show_option_format(h, argv, argc++, &format) < 0)
|
||||
goto done;
|
||||
}
|
||||
if (cvec_len(argv) > argc){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue