diff --git a/README.md b/README.md index 6ded375b..fbeaef9d 100644 --- a/README.md +++ b/README.md @@ -82,11 +82,11 @@ By issuing `bettercap-ng -h` the main command line options will be shown: -debug Print debug messages. -eval string - Run a command, used to set variables via command line. + Run one or more commands separated by ; in the interactive session, used to set variables via command line. -iface string - Network interface to bind to. + Network interface to bind to, if empty the default interface will be auto selected. -no-history - Disable history file. + Disable interactive session history file. -silent Suppress all logs which are not errors. diff --git a/core/options.go b/core/options.go index d1bf3f0d..4c1b7f17 100644 --- a/core/options.go +++ b/core/options.go @@ -13,12 +13,12 @@ type Options struct { func ParseOptions() (Options, error) { o := Options{ - InterfaceName: flag.String("iface", "", "Network interface to bind to."), + InterfaceName: flag.String("iface", "", "Network interface to bind to, if empty the default interface will be auto selected."), Caplet: flag.String("caplet", "", "Read commands from this file and execute them in the interactive session."), Debug: flag.Bool("debug", false, "Print debug messages."), Silent: flag.Bool("silent", false, "Suppress all logs which are not errors."), - NoHistory: flag.Bool("no-history", false, "Disable history file."), - Commands: flag.String("eval", "", "Run a command, used to set variables via command line."), + NoHistory: flag.Bool("no-history", false, "Disable interactive session history file."), + Commands: flag.String("eval", "", "Run one or more commands separated by ; in the interactive session, used to set variables via command line."), } flag.Parse()