Skip to content

Commit

Permalink
fix issue with cli parameter parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 8, 2023
1 parent 6ec54d2 commit e4b460b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/blob-spammer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func main() {

flags.Init(fmt.Sprintf("%v %v", flags.Args()[0], scenarioName), pflag.ExitOnError)
scenario.Flags(flags)
cliArgs = CliArgs{}
flags.Parse(os.Args)

if cliArgs.trace {
Expand Down

0 comments on commit e4b460b

Please sign in to comment.