Skip to content

Commit

Permalink
fix: tomorrow typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yuler committed Nov 24, 2021
1 parent a559a87 commit 583b705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ First, you need run `gh todo init`. It will create `todo` repo in your GitHub ac

Then you can use `gh todo add` to add new task. It will create an issue with today(yyyy-MM-dd) as the title in `todo` repo.

You can specify the issue title with `--scope`. The default is today(yyyy-MM-dd). Current support [yesterday, tommorow, week, month, year]. Any other will be used directly as issue title.
You can specify the issue title with `--scope`. The default is today(yyyy-MM-dd). Current support [yesterday, tomorrow, week, month, year]. Any other will be used directly as issue title.

The `gh todo` or `gh todo list` where show todo list.

Expand Down
6 changes: 3 additions & 3 deletions gh-todo
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ Options:
--version Show version
--help Show help for command
--scope TODO scope, default: today(yyyy-MM-dd).
Support [yesterday, tommorow, weekly, monthly, yearly].
Support [yesterday, tomorrow, weekly, monthly, yearly].
Any other will be used directly as issue title.
Examples:
gh todo add abc
EOF
}

version="0.4.0"
version="0.4.1"

repo="$(gh config get -h github.com user)/todo"

Expand Down Expand Up @@ -61,7 +61,7 @@ get_issue_id() {
yesterday)
issue_title=$(date -v-1d +"%Y-%m-%d")
;;
tommorow)
tomorrow)
issue_title=$(date -v+1d +"%Y-%m-%d")
;;
week)
Expand Down

0 comments on commit 583b705

Please sign in to comment.