Skip to content

Commit 8e94803

Browse files
committed
Update help info
1 parent 10c505a commit 8e94803

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

command/commit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func (r GitCommit) Synopsis() string {
5757
return `
5858
Usage: gtm commit [-yes]
5959
Save your logged time with the last commit
60+
6061
This is automatically called from the postcommit hook
6162
Warning - any time logged will be cleared from your working directory
6263
`

command/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (i InitCmd) Run(args []string) int {
5252

5353
func (i InitCmd) Synopsis() string {
5454
return `
55-
Usage: gtm init [-terminal=[true|false]]
55+
Usage: gtm init [-terminal=[true|false]] [-tags tag1,tag2] [-clear-tags]
5656
Initialize a git project for time tracking
5757
`
5858
}

command/report.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func (r ReportCmd) Run(args []string) int {
239239

240240
func (r ReportCmd) Synopsis() string {
241241
return `
242-
Usage: gtm report [-n] [-format commits|files|timeline] [-total-only]
242+
Usage: gtm report [options]
243243
Report on time logged
244244
`
245245
}

command/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (r StatusCmd) Run(args []string) int {
9898

9999
func (r StatusCmd) Synopsis() string {
100100
return `
101-
Usage: gtm status [-total-only]
101+
Usage: gtm status [-total-only] [-tags tag1,tag2] [-all] [-color] [-terminal-off]
102102
Show time spent for working or staged files
103103
`
104104
}

0 commit comments

Comments
 (0)