mirror of
https://github.com/bettercap/bettercap
synced 2025-07-14 09:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
00cc8bce89
commit
ae81bb8606
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ func ParseOptions() (Options, error) {
|
||||||
Silent: flag.Bool("silent", false, "Suppress all logs which are not errors."),
|
Silent: flag.Bool("silent", false, "Suppress all logs which are not errors."),
|
||||||
NoHistory: flag.Bool("no-history", false, "Disable interactive session history file."),
|
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."),
|
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("cpuprofile", "", "Write cpu profile `file`."),
|
CpuProfile: flag.String("cpu-profile", "", "Write cpu profile `file`."),
|
||||||
MemProfile: flag.String("memprofile", "", "Write memory profile to `file`."),
|
MemProfile: flag.String("mem-profile", "", "Write memory profile to `file`."),
|
||||||
}
|
}
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue