diff options
author | Andrew Topp <andrewt@telekinetica.net> | 2024-06-04 20:22:57 +1000 |
---|---|---|
committer | Andrew Topp <andrewt@telekinetica.net> | 2024-06-04 20:24:40 +1000 |
commit | de1479b06cb9b292fe4919c5949f3d3599ea11c7 (patch) | |
tree | 2d0bb2311aab1a60be414a59e163898276886518 | |
parent | e74970c8b1a5663c06c1071b9b4f360dbfb666a9 (diff) | |
download | vyos-1x-de1479b06cb9b292fe4919c5949f3d3599ea11c7.tar.gz vyos-1x-de1479b06cb9b292fe4919c5949f3d3599ea11c7.zip |
T6431: op-mode command monitor traceroute missing recursive symlink
Likely this was copied from mtr in the past but the symlink wasn't added
to the Makefile.
I've also swapped the completion help text around to match the commands.
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | op-mode-definitions/mtr.xml.in | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -66,6 +66,7 @@ op_mode_definitions: $(op_xml_obj) ln -s ../node.tag $(OP_TMPL_DIR)/ping/node.tag/node.tag/ ln -s ../node.tag $(OP_TMPL_DIR)/traceroute/node.tag/node.tag/ ln -s ../node.tag $(OP_TMPL_DIR)/mtr/node.tag/node.tag/ + ln -s ../node.tag $(OP_TMPL_DIR)/monitor/traceroute/node.tag/node.tag/ # XXX: test if there are empty node.def files - this is not allowed as these # could mask help strings or mandatory priority statements diff --git a/op-mode-definitions/mtr.xml.in b/op-mode-definitions/mtr.xml.in index 8239aec4c..66729e2bc 100644 --- a/op-mode-definitions/mtr.xml.in +++ b/op-mode-definitions/mtr.xml.in @@ -13,7 +13,7 @@ <children> <leafNode name="node.tag"> <properties> - <help>mtr options</help> + <help>Traceroute options</help> <completionHelp> <script>${vyos_op_scripts_dir}/mtr.py --get-options-nested "${COMP_WORDS[@]}"</script> </completionHelp> @@ -35,7 +35,7 @@ <children> <leafNode name="node.tag"> <properties> - <help>Traceroute options</help> + <help>mtr options</help> <completionHelp> <script>${vyos_op_scripts_dir}/mtr.py --get-options "${COMP_WORDS[@]}"</script> </completionHelp> |