eworm-de / mpd-notification

Notify about tracks played by mpd
GNU General Public License v3.0
86 stars 23 forks source link

Consider adding a --version command line option. #4

Closed lucc closed 9 years ago

lucc commented 9 years ago

I just wanted to see which version I have installed (and not start a new instance). But --help only shows the version if I also put -v on the cammand line. I consider this not obvious (and only found out about it after reading the source).

The problem is that the normal greeting might have to be moved to another location in main() for this to be pratical (otherwise --version --verbose might print the same info twice which is not really verbose but redundant).

eworm-de commented 9 years ago

Implemented with 02a7441b621db03161061dbfd5a93f1a1adc7e75.