insanum / gcalcli

Google Calendar Command Line Interface
MIT License
3.32k stars 314 forks source link

--nostarted doesn't work any more #532

Closed jamespo closed 4 years ago

jamespo commented 4 years ago

It works with v3.2 but the latest install from PYPI (4.2.1) gives:

 usage: gcalcli [-h] [--client-id CLIENT_ID] [--client-secret CLIENT_SECRET]
               [--config-folder CONFIG_FOLDER] [--noincluderc]
               [--calendar CALENDAR] [--default-calendar DEFAULTCALENDAR]
               [--locale LOCALE] [--refresh] [--nocache] [--conky] [--nocolor]
               [--lineart {fancy,unicode,ascii}]
gcalcli: error: unrecognized arguments: --nostarted

Although the documentation (eg for GNU screen integration) still references this flag

jcrowgey commented 4 years ago

--nostarted is an option for subcommands which implement the output_parser.

$ gcalcli --nostarted agenda
usage: gcalcli [-h] [--client-id CLIENT_ID] [--client-secret CLIENT_SECRET]
               [--config-folder CONFIG_FOLDER] [--noincluderc]
               [--calendar CALENDAR] [--default-calendar DEFAULTCALENDAR]
               [--locale LOCALE] [--refresh] [--nocache] [--conky] [--nocolor]
               [--lineart {fancy,unicode,ascii}]
gcalcli: error: unrecognized arguments: --nostarted
$ gcalcli agenda --nostarted >/dev/null 
$ echo $?
0