Skip to content

Commit

Permalink
Update the PATCH to PUT for the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Mar 13, 2022
1 parent c89398b commit deeb362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Usage of RIP
-post bool
POST HTTP request (default false)
-put bool
PATCH HTTP request (default false)
PUT HTTP request (default false)
-udp bool
Run requests UDP flood attack and not http requests (default false)
-udp-bytes int
Expand Down
2 changes: 1 addition & 1 deletion utils/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Args() Arguments {
udp: flag.Bool("udp", false, "Run requests UDP flood attack and not http requests"),
bytes: flag.Int("udp-bytes", 2048, "Set the x bytes for the UDP flood attack"),
post: flag.Bool("post", false, "POST HTTP request"),
put: flag.Bool("put", false, "PATCH HTTP request"),
put: flag.Bool("put", false, "PUT HTTP request"),
patch: flag.Bool("patch", false, "PATCH HTTP request"),
json: flag.String("json", "", "Path to the JSON payload file to be used for the HTTP requests"),
}
Expand Down

0 comments on commit deeb362

Please sign in to comment.