{"action":"created","comment":{"url":"https://api.github.com/repos/borgbackup/borg/pulls/comments/42623688","id":42623688,"diff_hunk":"@@ -564,7 +569,8 @@ def build_parser(self, args=None, prog=None):\n         common_parser.add_argument('--remote-path', dest='remote_path', default=RemoteRepository.remote_path, metavar='PATH',\n                                    help='set remote path to executable (default: \"%(default)s\")')\n \n-        parser = argparse.ArgumentParser(prog=prog, description='Borg %s - Deduplicated Backups' % __version__)\n+        parser = argparse.ArgumentParser(prog=prog, description='Borg - Deduplicated Backups')\n+        parser.add_argument('-V', '--version', **version_argument)","path":"borg/archiver.py","position":19,"original_position":19,"commit_id":"b634cb02be6e9ccdd5602ec7ce388334106344f7","original_commit_id":"b634cb02be6e9ccdd5602ec7ce388334106344f7","user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"body":"why do we need borg create --version?","created_at":"2015-10-21T13:40:47Z","updated_at":"2015-10-21T13:40:47Z","html_url":"https://github.com/borgbackup/borg/pull/323#discussion_r42623688","pull_request_url":"https://api.github.com/repos/borgbackup/borg/pulls/323","_links":{"self":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/comments/42623688"},"html":{"href":"https://github.com/borgbackup/borg/pull/323#discussion_r42623688"},"pull_request":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/323"}}},"pull_request":{"url":"https://api.github.com/repos/borgbackup/borg/pulls/323","id":48331333,"html_url":"https://github.com/borgbackup/borg/pull/323","diff_url":"https://github.com/borgbackup/borg/pull/323.diff","patch_url":"https://github.com/borgbackup/borg/pull/323.patch","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/323","number":323,"state":"open","locked":false,"title":"add standard --version argument","user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"body":"this way the version can be discovered by scripts without having to\r\npart the output of 'help'.\r\n\r\nit is removed from the 'help' output itself because it is prettier\r\nwithout the complete version number, and then the description can be\r\nreused elsewhere as well without needing the version number. this is especially important for #208 ","created_at":"2015-10-21T13:33:14Z","updated_at":"2015-10-21T13:40:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f81efc14ba690576cba38f3474363741cb99e299","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/borgbackup/borg/pulls/323/commits","review_comments_url":"https://api.github.com/repos/borgbackup/borg/pulls/323/comments","review_comment_url":"https://api.github.com/repos/borgbackup/borg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/323/comments","statuses_url":"https://api.github.com/repos/borgbackup/borg/statuses/b634cb02be6e9ccdd5602ec7ce388334106344f7","head":{"label":"anarcat:version-arg","ref":"version-arg","sha":"b634cb02be6e9ccdd5602ec7ce388334106344f7","user":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"repo":{"id":36046474,"name":"borg","full_name":"anarcat/borg","owner":{"login":"anarcat","id":796623,"avatar_url":"https://avatars.githubusercontent.com/u/796623?v=3","gravatar_id":"","url":"https://api.github.com/users/anarcat","html_url":"https://github.com/anarcat","followers_url":"https://api.github.com/users/anarcat/followers","following_url":"https://api.github.com/users/anarcat/following{/other_user}","gists_url":"https://api.github.com/users/anarcat/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcat/subscriptions","organizations_url":"https://api.github.com/users/anarcat/orgs","repos_url":"https://api.github.com/users/anarcat/repos","events_url":"https://api.github.com/users/anarcat/events{/privacy}","received_events_url":"https://api.github.com/users/anarcat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anarcat/borg","description":"Deduplicating backup program with compression and authenticated encryption","fork":true,"url":"https://api.github.com/repos/anarcat/borg","forks_url":"https://api.github.com/repos/anarcat/borg/forks","keys_url":"https://api.github.com/repos/anarcat/borg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anarcat/borg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anarcat/borg/teams","hooks_url":"https://api.github.com/repos/anarcat/borg/hooks","issue_events_url":"https://api.github.com/repos/anarcat/borg/issues/events{/number}","events_url":"https://api.github.com/repos/anarcat/borg/events","assignees_url":"https://api.github.com/repos/anarcat/borg/assignees{/user}","branches_url":"https://api.github.com/repos/anarcat/borg/branches{/branch}","tags_url":"https://api.github.com/repos/anarcat/borg/tags","blobs_url":"https://api.github.com/repos/anarcat/borg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anarcat/borg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anarcat/borg/git/refs{/sha}","trees_url":"https://api.github.com/repos/anarcat/borg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anarcat/borg/statuses/{sha}","languages_url":"https://api.github.com/repos/anarcat/borg/languages","stargazers_url":"https://api.github.com/repos/anarcat/borg/stargazers","contributors_url":"https://api.github.com/repos/anarcat/borg/contributors","subscribers_url":"https://api.github.com/repos/anarcat/borg/subscribers","subscription_url":"https://api.github.com/repos/anarcat/borg/subscription","commits_url":"https://api.github.com/repos/anarcat/borg/commits{/sha}","git_commits_url":"https://api.github.com/repos/anarcat/borg/git/commits{/sha}","comments_url":"https://api.github.com/repos/anarcat/borg/comments{/number}","issue_comment_url":"https://api.github.com/repos/anarcat/borg/issues/comments{/number}","contents_url":"https://api.github.com/repos/anarcat/borg/contents/{+path}","compare_url":"https://api.github.com/repos/anarcat/borg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anarcat/borg/merges","archive_url":"https://api.github.com/repos/anarcat/borg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anarcat/borg/downloads","issues_url":"https://api.github.com/repos/anarcat/borg/issues{/number}","pulls_url":"https://api.github.com/repos/anarcat/borg/pulls{/number}","milestones_url":"https://api.github.com/repos/anarcat/borg/milestones{/number}","notifications_url":"https://api.github.com/repos/anarcat/borg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anarcat/borg/labels{/name}","releases_url":"https://api.github.com/repos/anarcat/borg/releases{/id}","created_at":"2015-05-22T01:49:56Z","updated_at":"2015-10-17T06:13:27Z","pushed_at":"2015-10-21T13:37:12Z","git_url":"git://github.com/anarcat/borg.git","ssh_url":"git@github.com:anarcat/borg.git","clone_url":"https://github.com/anarcat/borg.git","svn_url":"https://github.com/anarcat/borg","homepage":"https://borgbackup.github.io/","size":2404,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"docs-setup-refactor"}},"base":{"label":"borgbackup:master","ref":"master","sha":"a1f88c73aa53b68ab13ee9bd2f279191e06b834c","user":{"login":"borgbackup","id":12418060,"avatar_url":"https://avatars.githubusercontent.com/u/12418060?v=3","gravatar_id":"","url":"https://api.github.com/users/borgbackup","html_url":"https://github.com/borgbackup","followers_url":"https://api.github.com/users/borgbackup/followers","following_url":"https://api.github.com/users/borgbackup/following{/other_user}","gists_url":"https://api.github.com/users/borgbackup/gists{/gist_id}","starred_url":"https://api.github.com/users/borgbackup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgbackup/subscriptions","organizations_url":"https://api.github.com/users/borgbackup/orgs","repos_url":"https://api.github.com/users/borgbackup/repos","events_url":"https://api.github.com/users/borgbackup/events{/privacy}","received_events_url":"https://api.github.com/users/borgbackup/received_events","type":"Organization","site_admin":false},"repo":{"id":35517126,"name":"borg","full_name":"borgbackup/borg","owner":{"login":"borgbackup","id":12418060,"avatar_url":"https://avatars.githubusercontent.com/u/12418060?v=3","gravatar_id":"","url":"https://api.github.com/users/borgbackup","html_url":"https://github.com/borgbackup","followers_url":"https://api.github.com/users/borgbackup/followers","following_url":"https://api.github.com/users/borgbackup/following{/other_user}","gists_url":"https://api.github.com/users/borgbackup/gists{/gist_id}","starred_url":"https://api.github.com/users/borgbackup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgbackup/subscriptions","organizations_url":"https://api.github.com/users/borgbackup/orgs","repos_url":"https://api.github.com/users/borgbackup/repos","events_url":"https://api.github.com/users/borgbackup/events{/privacy}","received_events_url":"https://api.github.com/users/borgbackup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/borgbackup/borg","description":"Deduplicating backup program with compression and authenticated encryption.","fork":false,"url":"https://api.github.com/repos/borgbackup/borg","forks_url":"https://api.github.com/repos/borgbackup/borg/forks","keys_url":"https://api.github.com/repos/borgbackup/borg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borgbackup/borg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borgbackup/borg/teams","hooks_url":"https://api.github.com/repos/borgbackup/borg/hooks","issue_events_url":"https://api.github.com/repos/borgbackup/borg/issues/events{/number}","events_url":"https://api.github.com/repos/borgbackup/borg/events","assignees_url":"https://api.github.com/repos/borgbackup/borg/assignees{/user}","branches_url":"https://api.github.com/repos/borgbackup/borg/branches{/branch}","tags_url":"https://api.github.com/repos/borgbackup/borg/tags","blobs_url":"https://api.github.com/repos/borgbackup/borg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borgbackup/borg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borgbackup/borg/git/refs{/sha}","trees_url":"https://api.github.com/repos/borgbackup/borg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borgbackup/borg/statuses/{sha}","languages_url":"https://api.github.com/repos/borgbackup/borg/languages","stargazers_url":"https://api.github.com/repos/borgbackup/borg/stargazers","contributors_url":"https://api.github.com/repos/borgbackup/borg/contributors","subscribers_url":"https://api.github.com/repos/borgbackup/borg/subscribers","subscription_url":"https://api.github.com/repos/borgbackup/borg/subscription","commits_url":"https://api.github.com/repos/borgbackup/borg/commits{/sha}","git_commits_url":"https://api.github.com/repos/borgbackup/borg/git/commits{/sha}","comments_url":"https://api.github.com/repos/borgbackup/borg/comments{/number}","issue_comment_url":"https://api.github.com/repos/borgbackup/borg/issues/comments{/number}","contents_url":"https://api.github.com/repos/borgbackup/borg/contents/{+path}","compare_url":"https://api.github.com/repos/borgbackup/borg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borgbackup/borg/merges","archive_url":"https://api.github.com/repos/borgbackup/borg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borgbackup/borg/downloads","issues_url":"https://api.github.com/repos/borgbackup/borg/issues{/number}","pulls_url":"https://api.github.com/repos/borgbackup/borg/pulls{/number}","milestones_url":"https://api.github.com/repos/borgbackup/borg/milestones{/number}","notifications_url":"https://api.github.com/repos/borgbackup/borg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borgbackup/borg/labels{/name}","releases_url":"https://api.github.com/repos/borgbackup/borg/releases{/id}","created_at":"2015-05-12T23:10:47Z","updated_at":"2015-10-18T23:09:31Z","pushed_at":"2015-10-21T13:37:38Z","git_url":"git://github.com/borgbackup/borg.git","ssh_url":"git@github.com:borgbackup/borg.git","clone_url":"https://github.com/borgbackup/borg.git","svn_url":"https://github.com/borgbackup/borg","homepage":"https://borgbackup.github.io/","size":3548,"stargazers_count":143,"watchers_count":143,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":94,"forks":24,"open_issues":94,"watchers":143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/323"},"html":{"href":"https://github.com/borgbackup/borg/pull/323"},"issue":{"href":"https://api.github.com/repos/borgbackup/borg/issues/323"},"comments":{"href":"https://api.github.com/repos/borgbackup/borg/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/borgbackup/borg/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/borgbackup/borg/statuses/b634cb02be6e9ccdd5602ec7ce388334106344f7"}}}}