{"action":"created","comment":{"url":"https://api.github.com/repos/systemd/systemd/pulls/comments/65807935","id":65807935,"diff_hunk":"@@ -835,7 +836,13 @@ static int parse_argv(int argc, char *argv[]) {\n                         assert_not_reached(\"Unhandled option\");\n                 }\n \n-        if (optind < argc) {\n+        if (optind == argc-1) {\n+                if (arg_machine) {\n+                        log_error(\"Specify a control group path together with the -M option is not allowed\");","path":"src/cgtop/cgtop.c","position":24,"original_position":24,"commit_id":"2bce723c385f66a5d9acd84b7528f61d461b9eff","original_commit_id":"2bce723c385f66a5d9acd84b7528f61d461b9eff","user":{"login":"alban","id":27575,"avatar_url":"https://avatars.githubusercontent.com/u/27575?v=3","gravatar_id":"","url":"https://api.github.com/users/alban","html_url":"https://github.com/alban","followers_url":"https://api.github.com/users/alban/followers","following_url":"https://api.github.com/users/alban/following{/other_user}","gists_url":"https://api.github.com/users/alban/gists{/gist_id}","starred_url":"https://api.github.com/users/alban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alban/subscriptions","organizations_url":"https://api.github.com/users/alban/orgs","repos_url":"https://api.github.com/users/alban/repos","events_url":"https://api.github.com/users/alban/events{/privacy}","received_events_url":"https://api.github.com/users/alban/received_events","type":"User","site_admin":false},"body":"s/Specify/Specifying?","created_at":"2016-06-04T21:31:56Z","updated_at":"2016-06-04T21:31:56Z","html_url":"https://github.com/systemd/systemd/pull/3413#discussion_r65807935","pull_request_url":"https://api.github.com/repos/systemd/systemd/pulls/3413","_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments/65807935"},"html":{"href":"https://github.com/systemd/systemd/pull/3413#discussion_r65807935"},"pull_request":{"href":"https://api.github.com/repos/systemd/systemd/pulls/3413"}}},"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/3413","id":72156254,"html_url":"https://github.com/systemd/systemd/pull/3413","diff_url":"https://github.com/systemd/systemd/pull/3413.diff","patch_url":"https://github.com/systemd/systemd/pull/3413.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/3413","number":3413,"state":"open","locked":false,"title":"cgtop: add option to show a single cgroup subtree","user":{"login":"alepuccetti","id":6577391,"avatar_url":"https://avatars.githubusercontent.com/u/6577391?v=3","gravatar_id":"","url":"https://api.github.com/users/alepuccetti","html_url":"https://github.com/alepuccetti","followers_url":"https://api.github.com/users/alepuccetti/followers","following_url":"https://api.github.com/users/alepuccetti/following{/other_user}","gists_url":"https://api.github.com/users/alepuccetti/gists{/gist_id}","starred_url":"https://api.github.com/users/alepuccetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alepuccetti/subscriptions","organizations_url":"https://api.github.com/users/alepuccetti/orgs","repos_url":"https://api.github.com/users/alepuccetti/repos","events_url":"https://api.github.com/users/alepuccetti/events{/privacy}","received_events_url":"https://api.github.com/users/alepuccetti/received_events","type":"User","site_admin":false},"body":"When many services are running, it was difficult to see only the interesting ones.\r\nThis patch allows to show only the subtree of interest.\r\n\r\nFixes #2163","created_at":"2016-06-01T10:23:52Z","updated_at":"2016-06-04T21:31:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb52c11360d740144e4390141913db22109e9bb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/3413/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/3413/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/3413/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/2bce723c385f66a5d9acd84b7528f61d461b9eff","head":{"label":"kinvolk:alep/cgtop","ref":"alep/cgtop","sha":"2bce723c385f66a5d9acd84b7528f61d461b9eff","user":{"login":"kinvolk","id":14073052,"avatar_url":"https://avatars.githubusercontent.com/u/14073052?v=3","gravatar_id":"","url":"https://api.github.com/users/kinvolk","html_url":"https://github.com/kinvolk","followers_url":"https://api.github.com/users/kinvolk/followers","following_url":"https://api.github.com/users/kinvolk/following{/other_user}","gists_url":"https://api.github.com/users/kinvolk/gists{/gist_id}","starred_url":"https://api.github.com/users/kinvolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinvolk/subscriptions","organizations_url":"https://api.github.com/users/kinvolk/orgs","repos_url":"https://api.github.com/users/kinvolk/repos","events_url":"https://api.github.com/users/kinvolk/events{/privacy}","received_events_url":"https://api.github.com/users/kinvolk/received_events","type":"Organization","site_admin":false},"repo":{"id":47412983,"name":"systemd","full_name":"kinvolk/systemd","owner":{"login":"kinvolk","id":14073052,"avatar_url":"https://avatars.githubusercontent.com/u/14073052?v=3","gravatar_id":"","url":"https://api.github.com/users/kinvolk","html_url":"https://github.com/kinvolk","followers_url":"https://api.github.com/users/kinvolk/followers","following_url":"https://api.github.com/users/kinvolk/following{/other_user}","gists_url":"https://api.github.com/users/kinvolk/gists{/gist_id}","starred_url":"https://api.github.com/users/kinvolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinvolk/subscriptions","organizations_url":"https://api.github.com/users/kinvolk/orgs","repos_url":"https://api.github.com/users/kinvolk/repos","events_url":"https://api.github.com/users/kinvolk/events{/privacy}","received_events_url":"https://api.github.com/users/kinvolk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kinvolk/systemd","description":"systemd upstream","fork":true,"url":"https://api.github.com/repos/kinvolk/systemd","forks_url":"https://api.github.com/repos/kinvolk/systemd/forks","keys_url":"https://api.github.com/repos/kinvolk/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kinvolk/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kinvolk/systemd/teams","hooks_url":"https://api.github.com/repos/kinvolk/systemd/hooks","issue_events_url":"https://api.github.com/repos/kinvolk/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/kinvolk/systemd/events","assignees_url":"https://api.github.com/repos/kinvolk/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/kinvolk/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/kinvolk/systemd/tags","blobs_url":"https://api.github.com/repos/kinvolk/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kinvolk/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kinvolk/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/kinvolk/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kinvolk/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/kinvolk/systemd/languages","stargazers_url":"https://api.github.com/repos/kinvolk/systemd/stargazers","contributors_url":"https://api.github.com/repos/kinvolk/systemd/contributors","subscribers_url":"https://api.github.com/repos/kinvolk/systemd/subscribers","subscription_url":"https://api.github.com/repos/kinvolk/systemd/subscription","commits_url":"https://api.github.com/repos/kinvolk/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/kinvolk/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/kinvolk/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/kinvolk/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/kinvolk/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/kinvolk/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kinvolk/systemd/merges","archive_url":"https://api.github.com/repos/kinvolk/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kinvolk/systemd/downloads","issues_url":"https://api.github.com/repos/kinvolk/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/kinvolk/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/kinvolk/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/kinvolk/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kinvolk/systemd/labels{/name}","releases_url":"https://api.github.com/repos/kinvolk/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/kinvolk/systemd/deployments","created_at":"2015-12-04T15:44:17Z","updated_at":"2016-04-11T17:35:47Z","pushed_at":"2016-06-04T20:27:21Z","git_url":"git://github.com/kinvolk/systemd.git","ssh_url":"git@github.com:kinvolk/systemd.git","clone_url":"https://github.com/kinvolk/systemd.git","svn_url":"https://github.com/kinvolk/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":61687,"stargazers_count":0,"watchers_count":0,"language":"C","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":"systemd:master","ref":"master","sha":"3fb1ac5d57954bb0d881a68777e996b46ed44ce3","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"name":"systemd","full_name":"systemd/systemd","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/systemd","description":"systemd upstream","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/systemd/deployments","created_at":"2015-03-25T15:27:27Z","updated_at":"2016-06-04T02:49:01Z","pushed_at":"2016-06-04T20:27:21Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":74964,"stargazers_count":1142,"watchers_count":1142,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":460,"mirror_url":null,"open_issues_count":365,"forks":460,"open_issues":365,"watchers":1142,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/3413"},"html":{"href":"https://github.com/systemd/systemd/pull/3413"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/3413"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/3413/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/3413/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/3413/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/2bce723c385f66a5d9acd84b7528f61d461b9eff"}}}}
{"actor":{"display_login":"alban"}}