u8slvn / hyperfocus

📝 Minimalist daily task manager.
https://hyperfocus.readthedocs.io
MIT License
8 stars 3 forks source link

`-d` option won't work on `add` command #4

Closed a-delannoy closed 4 months ago

a-delannoy commented 4 months ago

After installing hyperfocus and running the init command to setup the database, I tried addind a first test task with some details.

I runned the same command I found in the documentation and got the following result :

❯ hyf add "Read the great article about Python" -d "https://python-article.com"
Usage: hyf add [OPTIONS] <title>
Try 'hyf add -h' for help.

✘(error) Got unexpected extra argument (https://python-article.com)

It seems like the -d option is not accepted.

u8slvn commented 4 months ago

Sorry, this is a mistake in the readme. You can find the right usage of -d or --details in the command documentation: https://hyperfocus.readthedocs.io/en/latest/commands/#add

u8slvn commented 4 months ago

README example fixed! Thank you!