Skip to content

Commit

Permalink
change check_slack arg position
Browse files Browse the repository at this point in the history
  • Loading branch information
yasunariw committed Dec 29, 2020
1 parent b4947e0 commit 62c123c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notabot.ml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let gh_payload =

let slack_payload =
let doc = "JSON file containing a slack notification" in
Arg.(required & pos 1 (some file) None & info [] ~docv:"SLACK_PAYLOAD" ~doc)
Arg.(required & pos 0 (some file) None & info [] ~docv:"SLACK_PAYLOAD" ~doc)

let json =
let doc = "display output as json" in
Expand Down

0 comments on commit 62c123c

Please sign in to comment.