{"action":"created","comment":{"url":"https://api.github.com/repos/xonsh/xonsh/pulls/comments/67803496","id":67803496,"diff_hunk":"@@ -113,7 +113,7 @@ def path_argument(s):\n                     metavar='args',\n                     help='Additional arguments to the script specified '\n                          'by script-file',\n-                    nargs='*',\n+                    nargs=argparse.REMAINDER,","path":"xonsh/main.py","position":5,"original_position":5,"commit_id":"ba87d4f46accfc9729fca85961f046fcba95afda","original_commit_id":"b61dc35cd2d9de8ced11bb33506fa6803c73bc6b","user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"body":"Ahh great!  Then we can have a different test.  Our `-i`, `-l` and `-c` flags all come from Bash, etc. for future reference. ","created_at":"2016-06-21T03:35:45Z","updated_at":"2016-06-21T03:35:45Z","html_url":"https://github.com/xonsh/xonsh/pull/1277#discussion_r67803496","pull_request_url":"https://api.github.com/repos/xonsh/xonsh/pulls/1277","_links":{"self":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/comments/67803496"},"html":{"href":"https://github.com/xonsh/xonsh/pull/1277#discussion_r67803496"},"pull_request":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/1277"}}},"pull_request":{"url":"https://api.github.com/repos/xonsh/xonsh/pulls/1277","id":74338552,"html_url":"https://github.com/xonsh/xonsh/pull/1277","diff_url":"https://github.com/xonsh/xonsh/pull/1277.diff","patch_url":"https://github.com/xonsh/xonsh/pull/1277.patch","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/1277","number":1277,"state":"open","locked":false,"title":"complain on invalid cli arguments","user":{"login":"laerus","id":6930157,"avatar_url":"https://avatars.githubusercontent.com/u/6930157?v=3","gravatar_id":"","url":"https://api.github.com/users/laerus","html_url":"https://github.com/laerus","followers_url":"https://api.github.com/users/laerus/followers","following_url":"https://api.github.com/users/laerus/following{/other_user}","gists_url":"https://api.github.com/users/laerus/gists{/gist_id}","starred_url":"https://api.github.com/users/laerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laerus/subscriptions","organizations_url":"https://api.github.com/users/laerus/orgs","repos_url":"https://api.github.com/users/laerus/repos","events_url":"https://api.github.com/users/laerus/events{/privacy}","received_events_url":"https://api.github.com/users/laerus/received_events","type":"User","site_admin":false},"body":"this tries to fix #1073 and maybe more invalid cases","created_at":"2016-06-18T14:33:05Z","updated_at":"2016-06-21T03:35:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7dc5da2d600c08b0a503147d37df7bd8418045ba","assignee":null,"milestone":{"url":"https://api.github.com/repos/xonsh/xonsh/milestones/4","html_url":"https://github.com/xonsh/xonsh/milestones/v0.4.0","labels_url":"https://api.github.com/repos/xonsh/xonsh/milestones/4/labels","id":1779851,"number":4,"title":"v0.4.0","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":187,"closed_issues":159,"state":"open","created_at":"2016-05-20T22:54:44Z","updated_at":"2016-06-21T02:26:32Z","due_on":"2016-06-30T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xonsh/xonsh/pulls/1277/commits","review_comments_url":"https://api.github.com/repos/xonsh/xonsh/pulls/1277/comments","review_comment_url":"https://api.github.com/repos/xonsh/xonsh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1277/comments","statuses_url":"https://api.github.com/repos/xonsh/xonsh/statuses/ba87d4f46accfc9729fca85961f046fcba95afda","head":{"label":"laerus:xonsh-argument-fix-i1073","ref":"xonsh-argument-fix-i1073","sha":"ba87d4f46accfc9729fca85961f046fcba95afda","user":{"login":"laerus","id":6930157,"avatar_url":"https://avatars.githubusercontent.com/u/6930157?v=3","gravatar_id":"","url":"https://api.github.com/users/laerus","html_url":"https://github.com/laerus","followers_url":"https://api.github.com/users/laerus/followers","following_url":"https://api.github.com/users/laerus/following{/other_user}","gists_url":"https://api.github.com/users/laerus/gists{/gist_id}","starred_url":"https://api.github.com/users/laerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laerus/subscriptions","organizations_url":"https://api.github.com/users/laerus/orgs","repos_url":"https://api.github.com/users/laerus/repos","events_url":"https://api.github.com/users/laerus/events{/privacy}","received_events_url":"https://api.github.com/users/laerus/received_events","type":"User","site_admin":false},"repo":{"id":60903859,"name":"xonsh","full_name":"laerus/xonsh","owner":{"login":"laerus","id":6930157,"avatar_url":"https://avatars.githubusercontent.com/u/6930157?v=3","gravatar_id":"","url":"https://api.github.com/users/laerus","html_url":"https://github.com/laerus","followers_url":"https://api.github.com/users/laerus/followers","following_url":"https://api.github.com/users/laerus/following{/other_user}","gists_url":"https://api.github.com/users/laerus/gists{/gist_id}","starred_url":"https://api.github.com/users/laerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laerus/subscriptions","organizations_url":"https://api.github.com/users/laerus/orgs","repos_url":"https://api.github.com/users/laerus/repos","events_url":"https://api.github.com/users/laerus/events{/privacy}","received_events_url":"https://api.github.com/users/laerus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laerus/xonsh","description":"xonsh is a Python-ish, BASHwards-facing shell.","fork":true,"url":"https://api.github.com/repos/laerus/xonsh","forks_url":"https://api.github.com/repos/laerus/xonsh/forks","keys_url":"https://api.github.com/repos/laerus/xonsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laerus/xonsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laerus/xonsh/teams","hooks_url":"https://api.github.com/repos/laerus/xonsh/hooks","issue_events_url":"https://api.github.com/repos/laerus/xonsh/issues/events{/number}","events_url":"https://api.github.com/repos/laerus/xonsh/events","assignees_url":"https://api.github.com/repos/laerus/xonsh/assignees{/user}","branches_url":"https://api.github.com/repos/laerus/xonsh/branches{/branch}","tags_url":"https://api.github.com/repos/laerus/xonsh/tags","blobs_url":"https://api.github.com/repos/laerus/xonsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laerus/xonsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laerus/xonsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/laerus/xonsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laerus/xonsh/statuses/{sha}","languages_url":"https://api.github.com/repos/laerus/xonsh/languages","stargazers_url":"https://api.github.com/repos/laerus/xonsh/stargazers","contributors_url":"https://api.github.com/repos/laerus/xonsh/contributors","subscribers_url":"https://api.github.com/repos/laerus/xonsh/subscribers","subscription_url":"https://api.github.com/repos/laerus/xonsh/subscription","commits_url":"https://api.github.com/repos/laerus/xonsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/laerus/xonsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/laerus/xonsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/laerus/xonsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/laerus/xonsh/contents/{+path}","compare_url":"https://api.github.com/repos/laerus/xonsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laerus/xonsh/merges","archive_url":"https://api.github.com/repos/laerus/xonsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laerus/xonsh/downloads","issues_url":"https://api.github.com/repos/laerus/xonsh/issues{/number}","pulls_url":"https://api.github.com/repos/laerus/xonsh/pulls{/number}","milestones_url":"https://api.github.com/repos/laerus/xonsh/milestones{/number}","notifications_url":"https://api.github.com/repos/laerus/xonsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laerus/xonsh/labels{/name}","releases_url":"https://api.github.com/repos/laerus/xonsh/releases{/id}","deployments_url":"https://api.github.com/repos/laerus/xonsh/deployments","created_at":"2016-06-11T11:22:00Z","updated_at":"2016-06-11T11:22:01Z","pushed_at":"2016-06-21T02:37:11Z","git_url":"git://github.com/laerus/xonsh.git","ssh_url":"git@github.com:laerus/xonsh.git","clone_url":"https://github.com/laerus/xonsh.git","svn_url":"https://github.com/laerus/xonsh","homepage":"http://xon.sh","size":5893,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xonsh:master","ref":"master","sha":"e662673ed3a230110d3ef22ccbf840c9cd2c8c7d","user":{"login":"xonsh","id":17418188,"avatar_url":"https://avatars.githubusercontent.com/u/17418188?v=3","gravatar_id":"","url":"https://api.github.com/users/xonsh","html_url":"https://github.com/xonsh","followers_url":"https://api.github.com/users/xonsh/followers","following_url":"https://api.github.com/users/xonsh/following{/other_user}","gists_url":"https://api.github.com/users/xonsh/gists{/gist_id}","starred_url":"https://api.github.com/users/xonsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xonsh/subscriptions","organizations_url":"https://api.github.com/users/xonsh/orgs","repos_url":"https://api.github.com/users/xonsh/repos","events_url":"https://api.github.com/users/xonsh/events{/privacy}","received_events_url":"https://api.github.com/users/xonsh/received_events","type":"Organization","site_admin":false},"repo":{"id":29620400,"name":"xonsh","full_name":"xonsh/xonsh","owner":{"login":"xonsh","id":17418188,"avatar_url":"https://avatars.githubusercontent.com/u/17418188?v=3","gravatar_id":"","url":"https://api.github.com/users/xonsh","html_url":"https://github.com/xonsh","followers_url":"https://api.github.com/users/xonsh/followers","following_url":"https://api.github.com/users/xonsh/following{/other_user}","gists_url":"https://api.github.com/users/xonsh/gists{/gist_id}","starred_url":"https://api.github.com/users/xonsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xonsh/subscriptions","organizations_url":"https://api.github.com/users/xonsh/orgs","repos_url":"https://api.github.com/users/xonsh/repos","events_url":"https://api.github.com/users/xonsh/events{/privacy}","received_events_url":"https://api.github.com/users/xonsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xonsh/xonsh","description":"xonsh is a Python-ish, BASHwards-facing shell.","fork":false,"url":"https://api.github.com/repos/xonsh/xonsh","forks_url":"https://api.github.com/repos/xonsh/xonsh/forks","keys_url":"https://api.github.com/repos/xonsh/xonsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xonsh/xonsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xonsh/xonsh/teams","hooks_url":"https://api.github.com/repos/xonsh/xonsh/hooks","issue_events_url":"https://api.github.com/repos/xonsh/xonsh/issues/events{/number}","events_url":"https://api.github.com/repos/xonsh/xonsh/events","assignees_url":"https://api.github.com/repos/xonsh/xonsh/assignees{/user}","branches_url":"https://api.github.com/repos/xonsh/xonsh/branches{/branch}","tags_url":"https://api.github.com/repos/xonsh/xonsh/tags","blobs_url":"https://api.github.com/repos/xonsh/xonsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xonsh/xonsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xonsh/xonsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/xonsh/xonsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xonsh/xonsh/statuses/{sha}","languages_url":"https://api.github.com/repos/xonsh/xonsh/languages","stargazers_url":"https://api.github.com/repos/xonsh/xonsh/stargazers","contributors_url":"https://api.github.com/repos/xonsh/xonsh/contributors","subscribers_url":"https://api.github.com/repos/xonsh/xonsh/subscribers","subscription_url":"https://api.github.com/repos/xonsh/xonsh/subscription","commits_url":"https://api.github.com/repos/xonsh/xonsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/xonsh/xonsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/xonsh/xonsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/xonsh/xonsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/xonsh/xonsh/contents/{+path}","compare_url":"https://api.github.com/repos/xonsh/xonsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xonsh/xonsh/merges","archive_url":"https://api.github.com/repos/xonsh/xonsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xonsh/xonsh/downloads","issues_url":"https://api.github.com/repos/xonsh/xonsh/issues{/number}","pulls_url":"https://api.github.com/repos/xonsh/xonsh/pulls{/number}","milestones_url":"https://api.github.com/repos/xonsh/xonsh/milestones{/number}","notifications_url":"https://api.github.com/repos/xonsh/xonsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xonsh/xonsh/labels{/name}","releases_url":"https://api.github.com/repos/xonsh/xonsh/releases{/id}","deployments_url":"https://api.github.com/repos/xonsh/xonsh/deployments","created_at":"2015-01-21T22:05:27Z","updated_at":"2016-06-20T22:19:26Z","pushed_at":"2016-06-21T02:26:33Z","git_url":"git://github.com/xonsh/xonsh.git","ssh_url":"git@github.com:xonsh/xonsh.git","clone_url":"https://github.com/xonsh/xonsh.git","svn_url":"https://github.com/xonsh/xonsh","homepage":"http://xon.sh","size":6957,"stargazers_count":1523,"watchers_count":1523,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":237,"forks":152,"open_issues":237,"watchers":1523,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/1277"},"html":{"href":"https://github.com/xonsh/xonsh/pull/1277"},"issue":{"href":"https://api.github.com/repos/xonsh/xonsh/issues/1277"},"comments":{"href":"https://api.github.com/repos/xonsh/xonsh/issues/1277/comments"},"review_comments":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/1277/comments"},"review_comment":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/1277/commits"},"statuses":{"href":"https://api.github.com/repos/xonsh/xonsh/statuses/ba87d4f46accfc9729fca85961f046fcba95afda"}}}}
{"actor":{"display_login":"scopatz"}}