kevinschoon / pomo

Pomodoro CLI

Home Page:https://kevinschoon.github.io/pomo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Path option (-p and --path) are recognised as "incorrect usage."

dtetruash opened this issue · comments

System: Ubuntu 18.10 64-bit running in WSL2

Executable location: /usr/bin/

Input:

$ pomo -p

Expected output:

/home/user/.pomo

Actual output:

Error: incorrect usage

Usage: pomo [OPTIONS] COMMAND [arg...]

Pomodoro CLI

Options:
  -p, --path      path to the pomo config directory (default "/home/DZZR-STATION/.pomo")
  -v, --version   Show the version and exit

Commands:
  start, s        start a new task
  init            initialize the sqlite database
  create, c       create a new task without starting
  begin, b        begin requested pomodoro
  list, l         list historical tasks
  delete, d       delete a stored task
  status, st      output the current status

Run 'pomo COMMAND --help' for more information on a command.

@davzzar it works as expected

Options:
  -p, --path      path to the pomo config directory (default "/home/DZZR-STATION/.pomo")

So instead of pomo -p run pomo -p dir_name

thanks for confirming @strogiyotec, closing this issue