summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-29 22:50:04 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-29 22:50:09 +0200
commit5096a7cd4c4579ce32fa27b0a5025ce1e8660474 (patch)
tree92101348b1d879cadbe0c343ba2f77b49671f065
parent0525e443fa68cda451c9f4c838e1f55cec913d2a (diff)
downloadvyos-1x-5096a7cd4c4579ce32fa27b0a5025ce1e8660474.tar.gz
vyos-1x-5096a7cd4c4579ce32fa27b0a5025ce1e8660474.zip
wwan: T1988: add CLI completion helper for "device" node
-rw-r--r--interface-definitions/interfaces-wirelessmodem.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-wirelessmodem.xml.in b/interface-definitions/interfaces-wirelessmodem.xml.in
index 6bec34b56..91eee56ab 100644
--- a/interface-definitions/interfaces-wirelessmodem.xml.in
+++ b/interface-definitions/interfaces-wirelessmodem.xml.in
@@ -47,6 +47,9 @@
<leafNode name="device">
<properties>
<help>System device name (default: ttyUSB0)</help>
+ <completionHelp>
+ <script>ls -1 /dev | grep ttyUSB</script>
+ </completionHelp>
<valueHelp>
<format>ttyXXX</format>
<description>System TTY device name</description>