tenox7 / ttyplot

a realtime plotting utility for terminal/console with data input from stdin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release a new version and support -v option?

MIvanchev opened this issue · comments

I just noticed 1.4 is from 2019 and a lot of features have been implemented since then. Maybe release 1.5 soon? :) Would be also cool if there was a -v option to print out the version and exit immediately. I could provide a MR for this.

Yeah I should do it...

ok please send a pr/mr for -v and then I'll release

MR also adds -h parameter and changes exit code to 1 for the error case (unrecognized option). This is consistent with other *nix tools. -h has priority over -v. An initial loop checks for -h, -v or unrecognized option to avoid setting up stuff if there's no need.