aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/README.extcap6
-rwxr-xr-xdoc/extcap_example.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/README.extcap b/doc/README.extcap
index 5707fd02fe..025c3ffb71 100644
--- a/doc/README.extcap
+++ b/doc/README.extcap
@@ -95,7 +95,7 @@ Example:
$ extcapbin --extcap-interface IFACE --extcap-config
arg {number=0}{call=--delay}{display=Time delay}{tooltip=Time delay between packages}{type=integer}{range=1,15}{required=true}
-arg {number=1}{call=--message}{display=Message}{tooltip=Package message content}{type=string}
+arg {number=1}{call=--message}{display=Message}{tooltip=Package message content}{placeholder=Please enter a message here ...}{type=string}
arg {number=2}{call=--verify}{display=Verify}{tooltip=Verify package content}{type=boolflag}
arg {number=3}{call=--remote}{display=Remote Channel}{tooltip=Remote Channel Selector}{type=selector}
arg {number=4}{call=--server}{display=IP address for log server}{type=string}{validation=\\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b}
@@ -137,8 +137,8 @@ All options must provide a number, by which they are identified. No NUMBER may b
provided twice. Also all options must present the elements CALL and DISPLAY, where
call provides the arguments name on the command-line and display the name in the GUI.
-Additionally TOOLTIP may be provided, which will give the user an explanation within
-the GUI, about what to enter into this field.
+Additionally TOOLTIP and PLACEHOLDER may be provided, which will give the user an
+explanation within the GUI, about what to enter into this field.
These options do have types, for which the following types are being supported:
diff --git a/doc/extcap_example.py b/doc/extcap_example.py
index 446cccb8f1..3a3fde7aa7 100755
--- a/doc/extcap_example.py
+++ b/doc/extcap_example.py
@@ -98,7 +98,7 @@ def extcap_config(interface):
values = []
args.append ( (0, '--delay', 'Time delay', 'Time delay between packages', 'integer', '{range=1,15}{default=5}') )
- args.append ( (1, '--message', 'Message', 'Package message content', 'string', '{required=true}') )
+ args.append ( (1, '--message', 'Message', 'Package message content', 'string', '{required=true}{placeholder=Please enter a message here ...}') )
args.append ( (2, '--verify', 'Verify', 'Verify package content', 'boolflag', '{default=yes}') )
args.append ( (3, '--remote', 'Remote Channel', 'Remote Channel Selector', 'selector', ''))
args.append ( (4, '--fake_ip', 'Fake IP Address', 'Use this ip address as sender', 'string', '{save=false}{validation=\\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\b}'))