{"action":"created","comment":{"url":"https://api.github.com/repos/lxc/lxd/pulls/comments/79384762","id":79384762,"diff_hunk":"@@ -45,7 +45,7 @@ func (c *execCmd) usage() string {\n \treturn i18n.G(\n \t\t`Execute the specified command in a container.\n \n-lxc exec [remote:]container [--mode=auto|interactive|non-interactive] [--env EDITOR=/usr/bin/vim]... <command>\n+lxc exec [remote:]container [--mode=auto|interactive|non-interactive] [--env EDITOR=/usr/bin/vim]... <command> [-- <args>]","path":"lxc/exec.go","position":5,"original_position":5,"commit_id":"d465e2d9045edb807a92ba10d05f6032f5895327","original_commit_id":"d465e2d9045edb807a92ba10d05f6032f5895327","user":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"body":"Both work, but then we could just have `-- <command line>` in the help text ?","created_at":"2016-09-19T12:59:55Z","updated_at":"2016-09-19T12:59:55Z","html_url":"https://github.com/lxc/lxd/pull/2392#discussion_r79384762","pull_request_url":"https://api.github.com/repos/lxc/lxd/pulls/2392","_links":{"self":{"href":"https://api.github.com/repos/lxc/lxd/pulls/comments/79384762"},"html":{"href":"https://github.com/lxc/lxd/pull/2392#discussion_r79384762"},"pull_request":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2392"}}},"pull_request":{"url":"https://api.github.com/repos/lxc/lxd/pulls/2392","id":85673655,"html_url":"https://github.com/lxc/lxd/pull/2392","diff_url":"https://github.com/lxc/lxd/pull/2392.diff","patch_url":"https://github.com/lxc/lxd/pull/2392.patch","issue_url":"https://api.github.com/repos/lxc/lxd/issues/2392","number":2392,"state":"open","locked":false,"title":"Document lxc exec -- args","user":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-17T12:51:27Z","updated_at":"2016-09-19T12:59:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b57e588d549b2e5fcbbd330b0053eee813bf9ad7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lxc/lxd/pulls/2392/commits","review_comments_url":"https://api.github.com/repos/lxc/lxd/pulls/2392/comments","review_comment_url":"https://api.github.com/repos/lxc/lxd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/2392/comments","statuses_url":"https://api.github.com/repos/lxc/lxd/statuses/d465e2d9045edb807a92ba10d05f6032f5895327","head":{"label":"jpic:lxc_exec_help","ref":"lxc_exec_help","sha":"d465e2d9045edb807a92ba10d05f6032f5895327","user":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"repo":{"id":68451846,"name":"lxd","full_name":"jpic/lxd","owner":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpic/lxd","description":"Daemon based on liblxc offering a REST API to manage containers","fork":true,"url":"https://api.github.com/repos/jpic/lxd","forks_url":"https://api.github.com/repos/jpic/lxd/forks","keys_url":"https://api.github.com/repos/jpic/lxd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpic/lxd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpic/lxd/teams","hooks_url":"https://api.github.com/repos/jpic/lxd/hooks","issue_events_url":"https://api.github.com/repos/jpic/lxd/issues/events{/number}","events_url":"https://api.github.com/repos/jpic/lxd/events","assignees_url":"https://api.github.com/repos/jpic/lxd/assignees{/user}","branches_url":"https://api.github.com/repos/jpic/lxd/branches{/branch}","tags_url":"https://api.github.com/repos/jpic/lxd/tags","blobs_url":"https://api.github.com/repos/jpic/lxd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpic/lxd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpic/lxd/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpic/lxd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpic/lxd/statuses/{sha}","languages_url":"https://api.github.com/repos/jpic/lxd/languages","stargazers_url":"https://api.github.com/repos/jpic/lxd/stargazers","contributors_url":"https://api.github.com/repos/jpic/lxd/contributors","subscribers_url":"https://api.github.com/repos/jpic/lxd/subscribers","subscription_url":"https://api.github.com/repos/jpic/lxd/subscription","commits_url":"https://api.github.com/repos/jpic/lxd/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpic/lxd/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpic/lxd/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpic/lxd/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpic/lxd/contents/{+path}","compare_url":"https://api.github.com/repos/jpic/lxd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpic/lxd/merges","archive_url":"https://api.github.com/repos/jpic/lxd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpic/lxd/downloads","issues_url":"https://api.github.com/repos/jpic/lxd/issues{/number}","pulls_url":"https://api.github.com/repos/jpic/lxd/pulls{/number}","milestones_url":"https://api.github.com/repos/jpic/lxd/milestones{/number}","notifications_url":"https://api.github.com/repos/jpic/lxd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpic/lxd/labels{/name}","releases_url":"https://api.github.com/repos/jpic/lxd/releases{/id}","deployments_url":"https://api.github.com/repos/jpic/lxd/deployments","created_at":"2016-09-17T12:49:58Z","updated_at":"2016-09-17T12:50:00Z","pushed_at":"2016-09-17T12:51:13Z","git_url":"git://github.com/jpic/lxd.git","ssh_url":"git@github.com:jpic/lxd.git","clone_url":"https://github.com/jpic/lxd.git","svn_url":"https://github.com/jpic/lxd","homepage":"https://linuxcontainers.org/lxd","size":6969,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"master"}},"base":{"label":"lxc:master","ref":"master","sha":"0733b76d2bf5e29b50b6dd05bbb85ee598d7d3e8","user":{"login":"lxc","id":2301756,"avatar_url":"https://avatars.githubusercontent.com/u/2301756?v=3","gravatar_id":"","url":"https://api.github.com/users/lxc","html_url":"https://github.com/lxc","followers_url":"https://api.github.com/users/lxc/followers","following_url":"https://api.github.com/users/lxc/following{/other_user}","gists_url":"https://api.github.com/users/lxc/gists{/gist_id}","starred_url":"https://api.github.com/users/lxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxc/subscriptions","organizations_url":"https://api.github.com/users/lxc/orgs","repos_url":"https://api.github.com/users/lxc/repos","events_url":"https://api.github.com/users/lxc/events{/privacy}","received_events_url":"https://api.github.com/users/lxc/received_events","type":"Organization","site_admin":false},"repo":{"id":26192117,"name":"lxd","full_name":"lxc/lxd","owner":{"login":"lxc","id":2301756,"avatar_url":"https://avatars.githubusercontent.com/u/2301756?v=3","gravatar_id":"","url":"https://api.github.com/users/lxc","html_url":"https://github.com/lxc","followers_url":"https://api.github.com/users/lxc/followers","following_url":"https://api.github.com/users/lxc/following{/other_user}","gists_url":"https://api.github.com/users/lxc/gists{/gist_id}","starred_url":"https://api.github.com/users/lxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxc/subscriptions","organizations_url":"https://api.github.com/users/lxc/orgs","repos_url":"https://api.github.com/users/lxc/repos","events_url":"https://api.github.com/users/lxc/events{/privacy}","received_events_url":"https://api.github.com/users/lxc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lxc/lxd","description":"Daemon based on liblxc offering a REST API to manage containers","fork":false,"url":"https://api.github.com/repos/lxc/lxd","forks_url":"https://api.github.com/repos/lxc/lxd/forks","keys_url":"https://api.github.com/repos/lxc/lxd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lxc/lxd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lxc/lxd/teams","hooks_url":"https://api.github.com/repos/lxc/lxd/hooks","issue_events_url":"https://api.github.com/repos/lxc/lxd/issues/events{/number}","events_url":"https://api.github.com/repos/lxc/lxd/events","assignees_url":"https://api.github.com/repos/lxc/lxd/assignees{/user}","branches_url":"https://api.github.com/repos/lxc/lxd/branches{/branch}","tags_url":"https://api.github.com/repos/lxc/lxd/tags","blobs_url":"https://api.github.com/repos/lxc/lxd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lxc/lxd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lxc/lxd/git/refs{/sha}","trees_url":"https://api.github.com/repos/lxc/lxd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lxc/lxd/statuses/{sha}","languages_url":"https://api.github.com/repos/lxc/lxd/languages","stargazers_url":"https://api.github.com/repos/lxc/lxd/stargazers","contributors_url":"https://api.github.com/repos/lxc/lxd/contributors","subscribers_url":"https://api.github.com/repos/lxc/lxd/subscribers","subscription_url":"https://api.github.com/repos/lxc/lxd/subscription","commits_url":"https://api.github.com/repos/lxc/lxd/commits{/sha}","git_commits_url":"https://api.github.com/repos/lxc/lxd/git/commits{/sha}","comments_url":"https://api.github.com/repos/lxc/lxd/comments{/number}","issue_comment_url":"https://api.github.com/repos/lxc/lxd/issues/comments{/number}","contents_url":"https://api.github.com/repos/lxc/lxd/contents/{+path}","compare_url":"https://api.github.com/repos/lxc/lxd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lxc/lxd/merges","archive_url":"https://api.github.com/repos/lxc/lxd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lxc/lxd/downloads","issues_url":"https://api.github.com/repos/lxc/lxd/issues{/number}","pulls_url":"https://api.github.com/repos/lxc/lxd/pulls{/number}","milestones_url":"https://api.github.com/repos/lxc/lxd/milestones{/number}","notifications_url":"https://api.github.com/repos/lxc/lxd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lxc/lxd/labels{/name}","releases_url":"https://api.github.com/repos/lxc/lxd/releases{/id}","deployments_url":"https://api.github.com/repos/lxc/lxd/deployments","created_at":"2014-11-04T22:40:52Z","updated_at":"2016-09-18T21:06:58Z","pushed_at":"2016-09-19T11:20:18Z","git_url":"git://github.com/lxc/lxd.git","ssh_url":"git@github.com:lxc/lxd.git","clone_url":"https://github.com/lxc/lxd.git","svn_url":"https://github.com/lxc/lxd","homepage":"https://linuxcontainers.org/lxd","size":9898,"stargazers_count":1102,"watchers_count":1102,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":222,"mirror_url":null,"open_issues_count":79,"forks":222,"open_issues":79,"watchers":1102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2392"},"html":{"href":"https://github.com/lxc/lxd/pull/2392"},"issue":{"href":"https://api.github.com/repos/lxc/lxd/issues/2392"},"comments":{"href":"https://api.github.com/repos/lxc/lxd/issues/2392/comments"},"review_comments":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2392/comments"},"review_comment":{"href":"https://api.github.com/repos/lxc/lxd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2392/commits"},"statuses":{"href":"https://api.github.com/repos/lxc/lxd/statuses/d465e2d9045edb807a92ba10d05f6032f5895327"}}}}
{"actor":{"display_login":"jpic"}}