diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-29 22:50:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-29 22:50:09 +0200 |
commit | 5096a7cd4c4579ce32fa27b0a5025ce1e8660474 (patch) | |
tree | 92101348b1d879cadbe0c343ba2f77b49671f065 /interface-definitions | |
parent | 0525e443fa68cda451c9f4c838e1f55cec913d2a (diff) | |
download | vyos-1x-5096a7cd4c4579ce32fa27b0a5025ce1e8660474.tar.gz vyos-1x-5096a7cd4c4579ce32fa27b0a5025ce1e8660474.zip |
wwan: T1988: add CLI completion helper for "device" node
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-wirelessmodem.xml.in | 3 |
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> |