Skip to content

Commit 175d5aa

Browse files
committed
docs: update command examples to show --title flag usage
1 parent 7689e00 commit 175d5aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmd/root.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ var rootCmd = &cobra.Command{
2424
Start a work session with the default duration from your config file,
2525
or specify a custom duration. The timer shows a progress bar and sends
2626
desktop notifications when complete.`,
27-
Example: ` pomo # Start work session
28-
pomo 1h15m # Start 1 hour 15 minute session
29-
pomo 45m 15m # Start 45 minute work session with 15 minute break`,
27+
Example: ` pomo # Start work session
28+
pomo 1h15m # Start 1 hour 15 minute session
29+
pomo 45m 15m # Start 45 minute work session with 15 minute break
30+
pomo -t "write report" # work session with custom title (or --title)`,
3031

3132
Args: cobra.MaximumNArgs(2),
3233
Run: func(cmd *cobra.Command, args []string) {

0 commit comments

Comments
 (0)