mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
new: new -caplets-path argument to specify an alternative caplets base path (closes #850)
This commit is contained in:
parent
161124a3f4
commit
d63122bab3
3 changed files with 27 additions and 6 deletions
|
@ -16,6 +16,7 @@ type Options struct {
|
|||
Commands *string
|
||||
CpuProfile *string
|
||||
MemProfile *string
|
||||
CapletsPath *string
|
||||
}
|
||||
|
||||
func ParseOptions() (Options, error) {
|
||||
|
@ -33,6 +34,7 @@ func ParseOptions() (Options, error) {
|
|||
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`."),
|
||||
CapletsPath: flag.String("caplets-path", "", "Specify an alternative base path for caplets."),
|
||||
}
|
||||
|
||||
flag.Parse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue