Skip to content

Commit 9dc2666

Browse files
committed
docs: add args usage
1 parent 40c1804 commit 9dc2666

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httpcat.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const apiHost string = "https://http.cat"
1818
func main() {
1919
app := &cli.App{
2020
Name: "http-cat",
21-
Usage: "Returns a HTTP 🐱 kitty!",
21+
Usage: "Returns a HTTP 🐱 kitty! (E.g. http-cat 100)",
22+
ArgsUsage: "[http status]",
2223
Action: func(cCtx *cli.Context) error {
2324
var http_status_code string = cCtx.Args().Get(0)
2425

0 commit comments

Comments
 (0)