From 900468711c3b21cb4b87688d193c4f4b3abcd695 Mon Sep 17 00:00:00 2001 From: rhaidiz Date: Mon, 11 Feb 2019 19:40:40 +0100 Subject: [PATCH] Rename the parameter for overriding the value of the default gateway --- core/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/options.go b/core/options.go index f84142c7..6cf4403e 100644 --- a/core/options.go +++ b/core/options.go @@ -20,7 +20,7 @@ type Options struct { func ParseOptions() (Options, error) { o := Options{ InterfaceName: flag.String("iface", "", "Network interface to bind to, if empty the default interface will be auto selected."), - Gateway: flag.String("gw","","Manually specify the gateway address, if not specified or invalid, the default gateway will be used."), + Gateway: flag.String("gateway-override","","Use the provided IP address instead of the default gateway. If not specified or invalid, the default gateway will be used."), AutoStart: flag.String("autostart", "events.stream, net.recon", "Comma separated list of modules to auto start."), Caplet: flag.String("caplet", "", "Read commands from this file and execute them in the interactive session."), Debug: flag.Bool("debug", false, "Print debug messages."),