{"action":"opened","issue":{"url":"https://api.github.com/repos/jromang/picochess/issues/70","labels_url":"https://api.github.com/repos/jromang/picochess/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/jromang/picochess/issues/70/comments","events_url":"https://api.github.com/repos/jromang/picochess/issues/70/events","html_url":"https://github.com/jromang/picochess/issues/70","id":73285159,"number":70,"title":"adding option -V/--version","user":{"login":"lionping","id":12250193,"avatar_url":"https://avatars.githubusercontent.com/u/12250193?v=3","gravatar_id":"","url":"https://api.github.com/users/lionping","html_url":"https://github.com/lionping","followers_url":"https://api.github.com/users/lionping/followers","following_url":"https://api.github.com/users/lionping/following{/other_user}","gists_url":"https://api.github.com/users/lionping/gists{/gist_id}","starred_url":"https://api.github.com/users/lionping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lionping/subscriptions","organizations_url":"https://api.github.com/users/lionping/orgs","repos_url":"https://api.github.com/users/lionping/repos","events_url":"https://api.github.com/users/lionping/events{/privacy}","received_events_url":"https://api.github.com/users/lionping/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T11:19:49Z","updated_at":"2015-05-05T11:19:49Z","closed_at":null,"body":"since I was to dumb (but also too short of time) finding out how to create myown branche of picochess-master, maybe this is a way ;-) (and sorry... do I have to fork picochess?)\r\n\r\n('d liked to ask picochess.py (on a bash cmdline) what picochess-version that is, and for this purpose there was only one line needed to be added to the \"parser.add_argument\"-block of picochess.py, namely\r\n\r\nparser.add_argument(\"-V\", \"--version\", action='version', version='%(prog)s version {}'.format(version), help=\"show current version\", default=None)\r\n\r\n\"version\" comes from utilities.py"}}