{"action":"created","comment":{"url":"https://api.github.com/repos/znc/znc/pulls/comments/39917336","id":39917336,"diff_hunk":"@@ -90,13 +90,15 @@ class CPerform : public CModule {\n \tMODCONSTRUCTOR(CPerform) {\n \t\tAddHelpCommand();\n \t\tAddCommand(\"Add\",     static_cast<CModCommand::ModCmdFunc>(&CPerform::Add),\n-\t\t\t\"<command>\");\n+\t\t\t\"<command>\", \"Add a command to be sent to the server on connect.\");\n \t\tAddCommand(\"Del\",     static_cast<CModCommand::ModCmdFunc>(&CPerform::Del),\n-\t\t\t\"<nr>\");\n-\t\tAddCommand(\"List\",    static_cast<CModCommand::ModCmdFunc>(&CPerform::List));\n-\t\tAddCommand(\"Execute\", static_cast<CModCommand::ModCmdFunc>(&CPerform::Execute));\n+\t\t\t\"<number>\", \"Delete command <number> in the output of 'List'.\");\n+\t\tAddCommand(\"List\",    static_cast<CModCommand::ModCmdFunc>(&CPerform::List),\n+\t\t\t\"\", \"List the currently configured commands.\");\n+\t\tAddCommand(\"Execute\", static_cast<CModCommand::ModCmdFunc>(&CPerform::Execute),\n+\t\t\t\"\", \"Send the commands to the server now.\");\n \t\tAddCommand(\"Swap\",    static_cast<CModCommand::ModCmdFunc>(&CPerform::Swap),\n-\t\t\t\"<nr> <nr>\");\n+\t\t\t\"<cmd1> <cmd2>\", \"Modify the order in which the commands are sent.\");","path":"modules/perform.cpp","position":17,"original_position":17,"commit_id":"46f9de72ecb3f959499486a678b576fa4550222e","original_commit_id":"46f9de72ecb3f959499486a678b576fa4550222e","user":{"login":"Mikaela","id":831184,"avatar_url":"https://avatars.githubusercontent.com/u/831184?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikaela","html_url":"https://github.com/Mikaela","followers_url":"https://api.github.com/users/Mikaela/followers","following_url":"https://api.github.com/users/Mikaela/following{/other_user}","gists_url":"https://api.github.com/users/Mikaela/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikaela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikaela/subscriptions","organizations_url":"https://api.github.com/users/Mikaela/orgs","repos_url":"https://api.github.com/users/Mikaela/repos","events_url":"https://api.github.com/users/Mikaela/events{/privacy}","received_events_url":"https://api.github.com/users/Mikaela/received_events","type":"User","site_admin":false},"body":"And change it as cmd herẹ. Why you don't either have both as command (which would be more clear) or as `cmd` (which I fear would possibly bring questions on what it means)?","created_at":"2015-09-19T07:12:03Z","updated_at":"2015-09-19T07:12:03Z","html_url":"https://github.com/znc/znc/pull/1102#discussion_r39917336","pull_request_url":"https://api.github.com/repos/znc/znc/pulls/1102","_links":{"self":{"href":"https://api.github.com/repos/znc/znc/pulls/comments/39917336"},"html":{"href":"https://github.com/znc/znc/pull/1102#discussion_r39917336"},"pull_request":{"href":"https://api.github.com/repos/znc/znc/pulls/1102"}}},"pull_request":{"url":"https://api.github.com/repos/znc/znc/pulls/1102","id":45471596,"html_url":"https://github.com/znc/znc/pull/1102","diff_url":"https://github.com/znc/znc/pull/1102.diff","patch_url":"https://github.com/znc/znc/pull/1102.patch","issue_url":"https://api.github.com/repos/znc/znc/issues/1102","number":1102,"state":"open","locked":false,"title":"[perform] Add help text for commands","user":{"login":"dgw","id":164140,"avatar_url":"https://avatars.githubusercontent.com/u/164140?v=3","gravatar_id":"","url":"https://api.github.com/users/dgw","html_url":"https://github.com/dgw","followers_url":"https://api.github.com/users/dgw/followers","following_url":"https://api.github.com/users/dgw/following{/other_user}","gists_url":"https://api.github.com/users/dgw/gists{/gist_id}","starred_url":"https://api.github.com/users/dgw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgw/subscriptions","organizations_url":"https://api.github.com/users/dgw/orgs","repos_url":"https://api.github.com/users/dgw/repos","events_url":"https://api.github.com/users/dgw/events{/privacy}","received_events_url":"https://api.github.com/users/dgw/received_events","type":"User","site_admin":false},"body":"Fixes #1100, supersedes #1101 (fixes incorrect function calls that omit the arguments)","created_at":"2015-09-19T06:54:13Z","updated_at":"2015-09-19T07:12:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c7030b7184645d570aabb076bf8f235fd3dae23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/znc/znc/pulls/1102/commits","review_comments_url":"https://api.github.com/repos/znc/znc/pulls/1102/comments","review_comment_url":"https://api.github.com/repos/znc/znc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/znc/znc/issues/1102/comments","statuses_url":"https://api.github.com/repos/znc/znc/statuses/46f9de72ecb3f959499486a678b576fa4550222e","head":{"label":"dgw:1100-perform-help","ref":"1100-perform-help","sha":"46f9de72ecb3f959499486a678b576fa4550222e","user":{"login":"dgw","id":164140,"avatar_url":"https://avatars.githubusercontent.com/u/164140?v=3","gravatar_id":"","url":"https://api.github.com/users/dgw","html_url":"https://github.com/dgw","followers_url":"https://api.github.com/users/dgw/followers","following_url":"https://api.github.com/users/dgw/following{/other_user}","gists_url":"https://api.github.com/users/dgw/gists{/gist_id}","starred_url":"https://api.github.com/users/dgw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgw/subscriptions","organizations_url":"https://api.github.com/users/dgw/orgs","repos_url":"https://api.github.com/users/dgw/repos","events_url":"https://api.github.com/users/dgw/events{/privacy}","received_events_url":"https://api.github.com/users/dgw/received_events","type":"User","site_admin":false},"repo":{"id":12191866,"name":"znc","full_name":"dgw/znc","owner":{"login":"dgw","id":164140,"avatar_url":"https://avatars.githubusercontent.com/u/164140?v=3","gravatar_id":"","url":"https://api.github.com/users/dgw","html_url":"https://github.com/dgw","followers_url":"https://api.github.com/users/dgw/followers","following_url":"https://api.github.com/users/dgw/following{/other_user}","gists_url":"https://api.github.com/users/dgw/gists{/gist_id}","starred_url":"https://api.github.com/users/dgw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgw/subscriptions","organizations_url":"https://api.github.com/users/dgw/orgs","repos_url":"https://api.github.com/users/dgw/repos","events_url":"https://api.github.com/users/dgw/events{/privacy}","received_events_url":"https://api.github.com/users/dgw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgw/znc","description":"Fork of the official repository for the ZNC IRC bouncer","fork":true,"url":"https://api.github.com/repos/dgw/znc","forks_url":"https://api.github.com/repos/dgw/znc/forks","keys_url":"https://api.github.com/repos/dgw/znc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgw/znc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgw/znc/teams","hooks_url":"https://api.github.com/repos/dgw/znc/hooks","issue_events_url":"https://api.github.com/repos/dgw/znc/issues/events{/number}","events_url":"https://api.github.com/repos/dgw/znc/events","assignees_url":"https://api.github.com/repos/dgw/znc/assignees{/user}","branches_url":"https://api.github.com/repos/dgw/znc/branches{/branch}","tags_url":"https://api.github.com/repos/dgw/znc/tags","blobs_url":"https://api.github.com/repos/dgw/znc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgw/znc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgw/znc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgw/znc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgw/znc/statuses/{sha}","languages_url":"https://api.github.com/repos/dgw/znc/languages","stargazers_url":"https://api.github.com/repos/dgw/znc/stargazers","contributors_url":"https://api.github.com/repos/dgw/znc/contributors","subscribers_url":"https://api.github.com/repos/dgw/znc/subscribers","subscription_url":"https://api.github.com/repos/dgw/znc/subscription","commits_url":"https://api.github.com/repos/dgw/znc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgw/znc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgw/znc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgw/znc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgw/znc/contents/{+path}","compare_url":"https://api.github.com/repos/dgw/znc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgw/znc/merges","archive_url":"https://api.github.com/repos/dgw/znc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgw/znc/downloads","issues_url":"https://api.github.com/repos/dgw/znc/issues{/number}","pulls_url":"https://api.github.com/repos/dgw/znc/pulls{/number}","milestones_url":"https://api.github.com/repos/dgw/znc/milestones{/number}","notifications_url":"https://api.github.com/repos/dgw/znc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgw/znc/labels{/name}","releases_url":"https://api.github.com/repos/dgw/znc/releases{/id}","created_at":"2013-08-18T07:27:15Z","updated_at":"2014-08-24T08:42:58Z","pushed_at":"2015-09-19T07:01:25Z","git_url":"git://github.com/dgw/znc.git","ssh_url":"git@github.com:dgw/znc.git","clone_url":"https://github.com/dgw/znc.git","svn_url":"https://github.com/dgw/znc","homepage":"https://github.com/znc/znc","size":11923,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"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":"znc:master","ref":"master","sha":"cde90532054d619edc63aaa11a06b10a6d732bdf","user":{"login":"znc","id":179272,"avatar_url":"https://avatars.githubusercontent.com/u/179272?v=3","gravatar_id":"","url":"https://api.github.com/users/znc","html_url":"https://github.com/znc","followers_url":"https://api.github.com/users/znc/followers","following_url":"https://api.github.com/users/znc/following{/other_user}","gists_url":"https://api.github.com/users/znc/gists{/gist_id}","starred_url":"https://api.github.com/users/znc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/znc/subscriptions","organizations_url":"https://api.github.com/users/znc/orgs","repos_url":"https://api.github.com/users/znc/repos","events_url":"https://api.github.com/users/znc/events{/privacy}","received_events_url":"https://api.github.com/users/znc/received_events","type":"Organization","site_admin":false},"repo":{"id":465681,"name":"znc","full_name":"znc/znc","owner":{"login":"znc","id":179272,"avatar_url":"https://avatars.githubusercontent.com/u/179272?v=3","gravatar_id":"","url":"https://api.github.com/users/znc","html_url":"https://github.com/znc","followers_url":"https://api.github.com/users/znc/followers","following_url":"https://api.github.com/users/znc/following{/other_user}","gists_url":"https://api.github.com/users/znc/gists{/gist_id}","starred_url":"https://api.github.com/users/znc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/znc/subscriptions","organizations_url":"https://api.github.com/users/znc/orgs","repos_url":"https://api.github.com/users/znc/repos","events_url":"https://api.github.com/users/znc/events{/privacy}","received_events_url":"https://api.github.com/users/znc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/znc/znc","description":"Official repository for the ZNC IRC bouncer","fork":false,"url":"https://api.github.com/repos/znc/znc","forks_url":"https://api.github.com/repos/znc/znc/forks","keys_url":"https://api.github.com/repos/znc/znc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/znc/znc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/znc/znc/teams","hooks_url":"https://api.github.com/repos/znc/znc/hooks","issue_events_url":"https://api.github.com/repos/znc/znc/issues/events{/number}","events_url":"https://api.github.com/repos/znc/znc/events","assignees_url":"https://api.github.com/repos/znc/znc/assignees{/user}","branches_url":"https://api.github.com/repos/znc/znc/branches{/branch}","tags_url":"https://api.github.com/repos/znc/znc/tags","blobs_url":"https://api.github.com/repos/znc/znc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/znc/znc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/znc/znc/git/refs{/sha}","trees_url":"https://api.github.com/repos/znc/znc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/znc/znc/statuses/{sha}","languages_url":"https://api.github.com/repos/znc/znc/languages","stargazers_url":"https://api.github.com/repos/znc/znc/stargazers","contributors_url":"https://api.github.com/repos/znc/znc/contributors","subscribers_url":"https://api.github.com/repos/znc/znc/subscribers","subscription_url":"https://api.github.com/repos/znc/znc/subscription","commits_url":"https://api.github.com/repos/znc/znc/commits{/sha}","git_commits_url":"https://api.github.com/repos/znc/znc/git/commits{/sha}","comments_url":"https://api.github.com/repos/znc/znc/comments{/number}","issue_comment_url":"https://api.github.com/repos/znc/znc/issues/comments{/number}","contents_url":"https://api.github.com/repos/znc/znc/contents/{+path}","compare_url":"https://api.github.com/repos/znc/znc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/znc/znc/merges","archive_url":"https://api.github.com/repos/znc/znc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/znc/znc/downloads","issues_url":"https://api.github.com/repos/znc/znc/issues{/number}","pulls_url":"https://api.github.com/repos/znc/znc/pulls{/number}","milestones_url":"https://api.github.com/repos/znc/znc/milestones{/number}","notifications_url":"https://api.github.com/repos/znc/znc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/znc/znc/labels{/name}","releases_url":"https://api.github.com/repos/znc/znc/releases{/id}","created_at":"2010-01-09T23:44:05Z","updated_at":"2015-09-18T02:02:42Z","pushed_at":"2015-09-19T07:02:01Z","git_url":"git://github.com/znc/znc.git","ssh_url":"git@github.com:znc/znc.git","clone_url":"https://github.com/znc/znc.git","svn_url":"https://github.com/znc/znc","homepage":"http://znc.in/","size":18749,"stargazers_count":1026,"watchers_count":1026,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":254,"mirror_url":null,"open_issues_count":230,"forks":254,"open_issues":230,"watchers":1026,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/znc/znc/pulls/1102"},"html":{"href":"https://github.com/znc/znc/pull/1102"},"issue":{"href":"https://api.github.com/repos/znc/znc/issues/1102"},"comments":{"href":"https://api.github.com/repos/znc/znc/issues/1102/comments"},"review_comments":{"href":"https://api.github.com/repos/znc/znc/pulls/1102/comments"},"review_comment":{"href":"https://api.github.com/repos/znc/znc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/znc/znc/pulls/1102/commits"},"statuses":{"href":"https://api.github.com/repos/znc/znc/statuses/46f9de72ecb3f959499486a678b576fa4550222e"}}}}