From 514370e1c26c0e835696299e5b5b3a4bef1938c1 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Tue, 6 Mar 2018 22:12:25 +0100 Subject: [PATCH] fix: now the environment is not persisted by default anymore (closes #146) --- core/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/options.go b/core/options.go index bf0d1263..887b2901 100644 --- a/core/options.go +++ b/core/options.go @@ -21,7 +21,7 @@ func ParseOptions() (Options, error) { 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 interactive session history file."), - EnvFile: flag.String("env-file", "~/bettercap.env", "Load environment variables from this file if found, set to empty to disable environment persistance."), + EnvFile: flag.String("env-file", "", "Load environment variables from this file if found, set to empty to disable environment persistance."), Commands: flag.String("eval", "", "Run one or more commands separated by ; in the interactive session, used to set variables via command line."), CpuProfile: flag.String("cpu-profile", "", "Write cpu profile `file`."), MemProfile: flag.String("mem-profile", "", "Write memory profile to `file`."),