summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-02-22 18:34:06 -0600
committerJohn Estabrook <jestabro@vyos.io>2026-02-24 13:08:46 -0600
commit4e211a29e41bd8f60b23881c1f38ba0f10e45862 (patch)
treebd76729f9dd8e9123afe0fee2c64b7861f13d589 /src
parent6ebd5d80f9a212beba6352494392ae811f66d64e (diff)
downloadvyos1x-config-4e211a29e41bd8f60b23881c1f38ba0f10e45862.tar.gz
vyos1x-config-4e211a29e41bd8f60b23881c1f38ba0f10e45862.zip
T8312: add edit to completion op variant
Diffstat (limited to 'src')
-rw-r--r--src/completion.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/completion.ml b/src/completion.ml
index c4890a0..5ac92c6 100644
--- a/src/completion.ml
+++ b/src/completion.ml
@@ -1,8 +1,9 @@
-type op_type = Set | Delete | Show | Comment | Unknown
+type op_type = Set | Edit | Delete | Show | Comment | Unknown
let op_of_string op_str =
match op_str with
| "set" -> Set
+ | "edit" -> Edit
| "delete" -> Delete
| "show" -> Show
| "comment" -> Comment