diff options
author | John Estabrook <jestabro@vyos.io> | 2024-10-23 18:50:46 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-10-27 21:47:40 -0500 |
commit | 2f6348a6a13aae146b22c0d87072a56f0440a1f5 (patch) | |
tree | c3dd584333938fa2974e3aa2bf58b0aeb5f7ca71 /src/vycli.ml | |
parent | bd17726d30991619eca09bfe478659915bc12fe4 (diff) | |
download | vyconf-2f6348a6a13aae146b22c0d87072a56f0440a1f5.tar.gz vyconf-2f6348a6a13aae146b22c0d87072a56f0440a1f5.zip |
T6718: split path strings with single-quoted values containing ws
Diffstat (limited to 'src/vycli.ml')
-rw-r--r-- | src/vycli.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vycli.ml b/src/vycli.ml index 83c5eb1..1430a5a 100644 --- a/src/vycli.ml +++ b/src/vycli.ml @@ -85,7 +85,7 @@ let main socket op path out_format config_format = let _ = let () = Arg.parse args (fun _ -> ()) usage in - let path = String.trim !path_opt |> Pcre.split ~pat:"\\s+" in + let path = Vyos1x.Util.list_of_path !path_opt in let out_format = output_format_of_string !out_format_opt in let config_format = config_format_of_string !conf_format_opt in let result = Lwt_main.run (main !socket !op path out_format config_format) in exit result |