summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-12-05 13:00:37 -0600
committerJohn Estabrook <jestabro@vyos.io>2025-12-05 13:00:37 -0600
commit4028c234ce9e42ef76bcc5243fb0cf75aff09f9b (patch)
tree5b372626f74d8413c2663bc7908e2a5c33d12809
parent1d49f3b192a574f8356cf0669045732818abc7da (diff)
downloadvyconf-4028c234ce9e42ef76bcc5243fb0cf75aff09f9b.tar.gz
vyconf-4028c234ce9e42ef76bcc5243fb0cf75aff09f9b.zip
T8074: drop vyconf_cli options that are handled by vyconf_cli_compat
-rw-r--r--src/vyconf_cli.ml6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vyconf_cli.ml b/src/vyconf_cli.ml
index d65c56b..8563572 100644
--- a/src/vyconf_cli.ml
+++ b/src/vyconf_cli.ml
@@ -5,16 +5,12 @@ type op_t =
| OpSet
| OpDelete
| OpDiscard
- | OpShowConfig
- | OpSessionChanged
let op_of_string s =
match s with
| "vy_set" -> OpSet
| "vy_delete" -> OpDelete
| "vy_discard" -> OpDiscard
- | "vy_show" -> OpShowConfig
- | "vy_session_changed" -> OpSessionChanged
| _ -> failwith (Printf.sprintf "Unknown operation %s" s)
let config_format_of_string s =
@@ -80,8 +76,6 @@ let main op path =
| OpSet -> set c path
| OpDelete -> delete c path
| OpDiscard -> discard c
- | OpShowConfig -> show_config c path
- | OpSessionChanged -> session_changed c
end
| Error e -> Error e |> Lwt.return
in