diff --git a/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.def b/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.def new file mode 100644 index 0000000..ac72119 --- /dev/null +++ b/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.def @@ -0,0 +1,2 @@ +tag: +help: Show connection details for a given authorized username diff --git a/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.tag/node.def b/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.tag/node.def index 749b314..7310f3c 100644 --- a/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.tag/node.def +++ b/vyatta-cjdns/opt/vyatta/share/vyatta-op/templates/show/interfaces/cjdns/node.tag/connection-details/node.tag/node.def @@ -1,4 +1,4 @@ -tag: -allowed: /opt/vyatta/sbin/vyatta-cjdns-readconf $4 showConnectionUsernames run: /opt/vyatta/sbin/vyatta-cjdns-readconf $4 showConnectionDetails $6 -help: Show connection details for a given username +allowed: /opt/vyatta/sbin/vyatta-cjdns-readconf ${COMP_WORDS[3]} showConnectionUsernames +type: txt +help: Show connection details for this username