typo
added melody path to usage
This commit is contained in:
2005 2024-05-22 00:35:46 +02:00
parent 5dc057f624
commit 5793d2ad1a
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,8 @@
# Romodoro # Romodoro
A faulty pomodoro program
![Romodoro](.assets/romodoro.gif) ![Romodoro](.assets/romodoro.gif)
**Romodoro is a basic TUI application that keeps track of your time with the help of the pomodoro technique.** It follows the original technique by deviding workloads into a set of 4x4 Work and Pause cycles which are then finished off with a long break. **Romodoro is a basic TUI application that keeps track of your time with the help of the pomodoro technique.** It follows the original technique by dividing workloads into a set of 4x4 Work and Pause cycles which are then finished off with a long break.
# Usage # Usage
@ -15,6 +13,7 @@ Options:
-w, --work <WORK> Working length in minutes [default: 25] -w, --work <WORK> Working length in minutes [default: 25]
-p, --pause <PAUSE> The length of a pause [default: 5] -p, --pause <PAUSE> The length of a pause [default: 5]
-l, --long-pause <LONG_PAUSE> The length of a long pause (after 4 cycles) [default: 20] -l, --long-pause <LONG_PAUSE> The length of a long pause (after 4 cycles) [default: 20]
-m, --melody-path <PATH> Path to your melody that is played after a session is over (/path/to/melody.mp3)
-h, --help Print help -h, --help Print help
-V, --version Print version -V, --version Print version

View file

@ -24,6 +24,7 @@ struct Args {
long_pause: i8, long_pause: i8,
/// Path to your melody that is played after a session is over (/path/to/melody.mp3)
#[arg(short, long, default_value="")] #[arg(short, long, default_value="")]
melody_path: String melody_path: String
} }