Skip to content

Commit

Permalink
support -h|--help option
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Nov 29, 2023
1 parent 2e1f1a1 commit 365560f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gh-act
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ parse_params() {
echo "gh-act version ${GH_ACT_VERSION}"
CREATE_EVENT_JSON=false
;;
-g| --graph| -h| --help| -l| --list)
-g| --graph| -l| --list)
CREATE_EVENT_JSON=false
;;
--help| -l)
EVENT_NAME=help
CREATE_EVENT_JSON=false
;;
-?*) ;;
Expand Down

0 comments on commit 365560f

Please sign in to comment.