summaryrefslogtreecommitdiffstats
path: root/src/options.def.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:05:27 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-12 18:05:27 +0200
commitd351a2403c5946d07ae6e6b6e075ff9896c6bcb6 (patch)
tree0390de88edfbc9aedc4f4f7f1d54a783398d9218 /src/options.def.h
parent02c3f0d648a00032b4cfc8d3f558d08c3fb2d5d9 (diff)
downloadfastd-d351a2403c5946d07ae6e6b6e075ff9896c6bcb6.tar
fastd-d351a2403c5946d07ae6e6b6e075ff9896c6bcb6.zip
Improve integer checks
Diffstat (limited to 'src/options.def.h')
-rw-r--r--src/options.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.def.h b/src/options.def.h
index 42e6d6f..dfb4983 100644
--- a/src/options.def.h
+++ b/src/options.def.h
@@ -15,7 +15,7 @@ OPTION_ARG(option_config_peer_dir, "--config-peer-dir", "<dir>", "Loads all file
OPTION_ARG(option_mode, "--mode" OR "-m", "tap|tun", "Sets the mode of the interface");
OPTION_ARG(option_interface, "--interface" OR "-i", "<name>", "Sets the name of the TUN/TAP interface to use");
OPTION_ARG(option_mtu, "--mtu" OR "-M", "<mtu>", "Sets the MTU; must be at least 576");
-OPTION_ARG(option_bind, "--bind" OR "-b", "<address>:<port>", "Sets the bind address");
+OPTION_ARG(option_bind, "--bind" OR "-b", "<address>[:<port>]", "Sets the bind address");
OPTION_ARG(option_protocol, "--protocol" OR "-p", "<protocol>", "Sets the protocol");
OPTION_ARG(option_method, "--method", "<method>", "Sets the encryption method");
OPTION(option_forward, "--forward", "Enables forwarding of packets between peers; read the documentation before use!");