{"action":"created","comment":{"url":"https://api.github.com/repos/python-cmd2/cmd2/pulls/comments/222188950","pull_request_review_id":161013036,"id":222188950,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjE4ODk1MA==","diff_hunk":"@@ -211,16 +213,14 @@ def cmd_wrapper(instance, cmdline):\n \n         # argparser defaults the program name to sys.argv[0]\n         # we want it to be the name of our command\n-        argparser.prog = func.__name__[3:]\n+        argparser.prog = func.__name__[len(COMMAND_FUNC_PREFIX):]\n \n         # If the description has not been set, then use the method docstring if one exists\n         if argparser.description is None and func.__doc__:\n             argparser.description = func.__doc__\n \n-        if func.__doc__:\n-            setattr(cmd_wrapper, HELP_SUMMARY, func.__doc__)\n-\n-        cmd_wrapper.__doc__ = argparser.format_help()\n+        # If argparser.description is None, this will show under 'Undocumented commands'\n+        cmd_wrapper.__doc__ = argparser.description","path":"cmd2/cmd2.py","position":35,"original_position":35,"commit_id":"6e546611bbc5139bcde898c6d8d6e5f9656f9510","original_commit_id":"6e546611bbc5139bcde898c6d8d6e5f9656f9510","user":{"login":"marklalor","id":8631708,"node_id":"MDQ6VXNlcjg2MzE3MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/8631708?v=4","gravatar_id":"","url":"https://api.github.com/users/marklalor","html_url":"https://github.com/marklalor","followers_url":"https://api.github.com/users/marklalor/followers","following_url":"https://api.github.com/users/marklalor/following{/other_user}","gists_url":"https://api.github.com/users/marklalor/gists{/gist_id}","starred_url":"https://api.github.com/users/marklalor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marklalor/subscriptions","organizations_url":"https://api.github.com/users/marklalor/orgs","repos_url":"https://api.github.com/users/marklalor/repos","events_url":"https://api.github.com/users/marklalor/events{/privacy}","received_events_url":"https://api.github.com/users/marklalor/received_events","type":"User","site_admin":false},"body":"Could possibly just default this to the previous `argparser.format_help()` value?","created_at":"2018-10-03T05:52:48Z","updated_at":"2018-10-03T05:53:02Z","html_url":"https://github.com/python-cmd2/cmd2/pull/563#discussion_r222188950","pull_request_url":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/python-cmd2/cmd2/pulls/comments/222188950"},"html":{"href":"https://github.com/python-cmd2/cmd2/pull/563#discussion_r222188950"},"pull_request":{"href":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563"}}},"pull_request":{"url":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563","id":219918318,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTE4MzE4","html_url":"https://github.com/python-cmd2/cmd2/pull/563","diff_url":"https://github.com/python-cmd2/cmd2/pull/563.diff","patch_url":"https://github.com/python-cmd2/cmd2/pull/563.patch","issue_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/563","number":563,"state":"open","locked":false,"title":"Fixed argparse help summary when no docstring was provided","user":{"login":"kmvanbrunt","id":28899027,"node_id":"MDQ6VXNlcjI4ODk5MDI3","avatar_url":"https://avatars1.githubusercontent.com/u/28899027?v=4","gravatar_id":"","url":"https://api.github.com/users/kmvanbrunt","html_url":"https://github.com/kmvanbrunt","followers_url":"https://api.github.com/users/kmvanbrunt/followers","following_url":"https://api.github.com/users/kmvanbrunt/following{/other_user}","gists_url":"https://api.github.com/users/kmvanbrunt/gists{/gist_id}","starred_url":"https://api.github.com/users/kmvanbrunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmvanbrunt/subscriptions","organizations_url":"https://api.github.com/users/kmvanbrunt/orgs","repos_url":"https://api.github.com/users/kmvanbrunt/repos","events_url":"https://api.github.com/users/kmvanbrunt/events{/privacy}","received_events_url":"https://api.github.com/users/kmvanbrunt/received_events","type":"User","site_admin":false},"body":"Fixes #561 ","created_at":"2018-10-03T05:24:05Z","updated_at":"2018-10-03T05:53:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"370b2c071ada22c011bc44108023ea039a3f00cc","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kotfu","id":218536,"node_id":"MDQ6VXNlcjIxODUzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/218536?v=4","gravatar_id":"","url":"https://api.github.com/users/kotfu","html_url":"https://github.com/kotfu","followers_url":"https://api.github.com/users/kotfu/followers","following_url":"https://api.github.com/users/kotfu/following{/other_user}","gists_url":"https://api.github.com/users/kotfu/gists{/gist_id}","starred_url":"https://api.github.com/users/kotfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kotfu/subscriptions","organizations_url":"https://api.github.com/users/kotfu/orgs","repos_url":"https://api.github.com/users/kotfu/repos","events_url":"https://api.github.com/users/kotfu/events{/privacy}","received_events_url":"https://api.github.com/users/kotfu/received_events","type":"User","site_admin":false},{"login":"tleonhardt","id":2812720,"node_id":"MDQ6VXNlcjI4MTI3MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/2812720?v=4","gravatar_id":"","url":"https://api.github.com/users/tleonhardt","html_url":"https://github.com/tleonhardt","followers_url":"https://api.github.com/users/tleonhardt/followers","following_url":"https://api.github.com/users/tleonhardt/following{/other_user}","gists_url":"https://api.github.com/users/tleonhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/tleonhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleonhardt/subscriptions","organizations_url":"https://api.github.com/users/tleonhardt/orgs","repos_url":"https://api.github.com/users/tleonhardt/repos","events_url":"https://api.github.com/users/tleonhardt/events{/privacy}","received_events_url":"https://api.github.com/users/tleonhardt/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563/commits","review_comments_url":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563/comments","review_comment_url":"https://api.github.com/repos/python-cmd2/cmd2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/563/comments","statuses_url":"https://api.github.com/repos/python-cmd2/cmd2/statuses/6e546611bbc5139bcde898c6d8d6e5f9656f9510","head":{"label":"python-cmd2:help_summary","ref":"help_summary","sha":"6e546611bbc5139bcde898c6d8d6e5f9656f9510","user":{"login":"python-cmd2","id":17161025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTYxMDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17161025?v=4","gravatar_id":"","url":"https://api.github.com/users/python-cmd2","html_url":"https://github.com/python-cmd2","followers_url":"https://api.github.com/users/python-cmd2/followers","following_url":"https://api.github.com/users/python-cmd2/following{/other_user}","gists_url":"https://api.github.com/users/python-cmd2/gists{/gist_id}","starred_url":"https://api.github.com/users/python-cmd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-cmd2/subscriptions","organizations_url":"https://api.github.com/users/python-cmd2/orgs","repos_url":"https://api.github.com/users/python-cmd2/repos","events_url":"https://api.github.com/users/python-cmd2/events{/privacy}","received_events_url":"https://api.github.com/users/python-cmd2/received_events","type":"Organization","site_admin":false},"repo":{"id":51442999,"node_id":"MDEwOlJlcG9zaXRvcnk1MTQ0Mjk5OQ==","name":"cmd2","full_name":"python-cmd2/cmd2","private":false,"owner":{"login":"python-cmd2","id":17161025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTYxMDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17161025?v=4","gravatar_id":"","url":"https://api.github.com/users/python-cmd2","html_url":"https://github.com/python-cmd2","followers_url":"https://api.github.com/users/python-cmd2/followers","following_url":"https://api.github.com/users/python-cmd2/following{/other_user}","gists_url":"https://api.github.com/users/python-cmd2/gists{/gist_id}","starred_url":"https://api.github.com/users/python-cmd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-cmd2/subscriptions","organizations_url":"https://api.github.com/users/python-cmd2/orgs","repos_url":"https://api.github.com/users/python-cmd2/repos","events_url":"https://api.github.com/users/python-cmd2/events{/privacy}","received_events_url":"https://api.github.com/users/python-cmd2/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/python-cmd2/cmd2","description":"cmd2 - Quickly build feature-rich and user-friendly interactive command line applications in Python","fork":false,"url":"https://api.github.com/repos/python-cmd2/cmd2","forks_url":"https://api.github.com/repos/python-cmd2/cmd2/forks","keys_url":"https://api.github.com/repos/python-cmd2/cmd2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-cmd2/cmd2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-cmd2/cmd2/teams","hooks_url":"https://api.github.com/repos/python-cmd2/cmd2/hooks","issue_events_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/events{/number}","events_url":"https://api.github.com/repos/python-cmd2/cmd2/events","assignees_url":"https://api.github.com/repos/python-cmd2/cmd2/assignees{/user}","branches_url":"https://api.github.com/repos/python-cmd2/cmd2/branches{/branch}","tags_url":"https://api.github.com/repos/python-cmd2/cmd2/tags","blobs_url":"https://api.github.com/repos/python-cmd2/cmd2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-cmd2/cmd2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-cmd2/cmd2/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-cmd2/cmd2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-cmd2/cmd2/statuses/{sha}","languages_url":"https://api.github.com/repos/python-cmd2/cmd2/languages","stargazers_url":"https://api.github.com/repos/python-cmd2/cmd2/stargazers","contributors_url":"https://api.github.com/repos/python-cmd2/cmd2/contributors","subscribers_url":"https://api.github.com/repos/python-cmd2/cmd2/subscribers","subscription_url":"https://api.github.com/repos/python-cmd2/cmd2/subscription","commits_url":"https://api.github.com/repos/python-cmd2/cmd2/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-cmd2/cmd2/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-cmd2/cmd2/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-cmd2/cmd2/contents/{+path}","compare_url":"https://api.github.com/repos/python-cmd2/cmd2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-cmd2/cmd2/merges","archive_url":"https://api.github.com/repos/python-cmd2/cmd2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-cmd2/cmd2/downloads","issues_url":"https://api.github.com/repos/python-cmd2/cmd2/issues{/number}","pulls_url":"https://api.github.com/repos/python-cmd2/cmd2/pulls{/number}","milestones_url":"https://api.github.com/repos/python-cmd2/cmd2/milestones{/number}","notifications_url":"https://api.github.com/repos/python-cmd2/cmd2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-cmd2/cmd2/labels{/name}","releases_url":"https://api.github.com/repos/python-cmd2/cmd2/releases{/id}","deployments_url":"https://api.github.com/repos/python-cmd2/cmd2/deployments","created_at":"2016-02-10T13:34:49Z","updated_at":"2018-10-02T11:55:05Z","pushed_at":"2018-10-03T05:43:46Z","git_url":"git://github.com/python-cmd2/cmd2.git","ssh_url":"git@github.com:python-cmd2/cmd2.git","clone_url":"https://github.com/python-cmd2/cmd2.git","svn_url":"https://github.com/python-cmd2/cmd2","homepage":"http://cmd2.readthedocs.io/","size":4570,"stargazers_count":144,"watchers_count":144,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":16,"watchers":144,"default_branch":"master"}},"base":{"label":"python-cmd2:master","ref":"master","sha":"924f8a57a73de7da462e654f3937b134ca92dbc7","user":{"login":"python-cmd2","id":17161025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTYxMDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17161025?v=4","gravatar_id":"","url":"https://api.github.com/users/python-cmd2","html_url":"https://github.com/python-cmd2","followers_url":"https://api.github.com/users/python-cmd2/followers","following_url":"https://api.github.com/users/python-cmd2/following{/other_user}","gists_url":"https://api.github.com/users/python-cmd2/gists{/gist_id}","starred_url":"https://api.github.com/users/python-cmd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-cmd2/subscriptions","organizations_url":"https://api.github.com/users/python-cmd2/orgs","repos_url":"https://api.github.com/users/python-cmd2/repos","events_url":"https://api.github.com/users/python-cmd2/events{/privacy}","received_events_url":"https://api.github.com/users/python-cmd2/received_events","type":"Organization","site_admin":false},"repo":{"id":51442999,"node_id":"MDEwOlJlcG9zaXRvcnk1MTQ0Mjk5OQ==","name":"cmd2","full_name":"python-cmd2/cmd2","private":false,"owner":{"login":"python-cmd2","id":17161025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTYxMDI1","avatar_url":"https://avatars1.githubusercontent.com/u/17161025?v=4","gravatar_id":"","url":"https://api.github.com/users/python-cmd2","html_url":"https://github.com/python-cmd2","followers_url":"https://api.github.com/users/python-cmd2/followers","following_url":"https://api.github.com/users/python-cmd2/following{/other_user}","gists_url":"https://api.github.com/users/python-cmd2/gists{/gist_id}","starred_url":"https://api.github.com/users/python-cmd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-cmd2/subscriptions","organizations_url":"https://api.github.com/users/python-cmd2/orgs","repos_url":"https://api.github.com/users/python-cmd2/repos","events_url":"https://api.github.com/users/python-cmd2/events{/privacy}","received_events_url":"https://api.github.com/users/python-cmd2/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/python-cmd2/cmd2","description":"cmd2 - Quickly build feature-rich and user-friendly interactive command line applications in Python","fork":false,"url":"https://api.github.com/repos/python-cmd2/cmd2","forks_url":"https://api.github.com/repos/python-cmd2/cmd2/forks","keys_url":"https://api.github.com/repos/python-cmd2/cmd2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-cmd2/cmd2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-cmd2/cmd2/teams","hooks_url":"https://api.github.com/repos/python-cmd2/cmd2/hooks","issue_events_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/events{/number}","events_url":"https://api.github.com/repos/python-cmd2/cmd2/events","assignees_url":"https://api.github.com/repos/python-cmd2/cmd2/assignees{/user}","branches_url":"https://api.github.com/repos/python-cmd2/cmd2/branches{/branch}","tags_url":"https://api.github.com/repos/python-cmd2/cmd2/tags","blobs_url":"https://api.github.com/repos/python-cmd2/cmd2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-cmd2/cmd2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-cmd2/cmd2/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-cmd2/cmd2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-cmd2/cmd2/statuses/{sha}","languages_url":"https://api.github.com/repos/python-cmd2/cmd2/languages","stargazers_url":"https://api.github.com/repos/python-cmd2/cmd2/stargazers","contributors_url":"https://api.github.com/repos/python-cmd2/cmd2/contributors","subscribers_url":"https://api.github.com/repos/python-cmd2/cmd2/subscribers","subscription_url":"https://api.github.com/repos/python-cmd2/cmd2/subscription","commits_url":"https://api.github.com/repos/python-cmd2/cmd2/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-cmd2/cmd2/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-cmd2/cmd2/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-cmd2/cmd2/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-cmd2/cmd2/contents/{+path}","compare_url":"https://api.github.com/repos/python-cmd2/cmd2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-cmd2/cmd2/merges","archive_url":"https://api.github.com/repos/python-cmd2/cmd2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-cmd2/cmd2/downloads","issues_url":"https://api.github.com/repos/python-cmd2/cmd2/issues{/number}","pulls_url":"https://api.github.com/repos/python-cmd2/cmd2/pulls{/number}","milestones_url":"https://api.github.com/repos/python-cmd2/cmd2/milestones{/number}","notifications_url":"https://api.github.com/repos/python-cmd2/cmd2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-cmd2/cmd2/labels{/name}","releases_url":"https://api.github.com/repos/python-cmd2/cmd2/releases{/id}","deployments_url":"https://api.github.com/repos/python-cmd2/cmd2/deployments","created_at":"2016-02-10T13:34:49Z","updated_at":"2018-10-02T11:55:05Z","pushed_at":"2018-10-03T05:43:46Z","git_url":"git://github.com/python-cmd2/cmd2.git","ssh_url":"git@github.com:python-cmd2/cmd2.git","clone_url":"https://github.com/python-cmd2/cmd2.git","svn_url":"https://github.com/python-cmd2/cmd2","homepage":"http://cmd2.readthedocs.io/","size":4570,"stargazers_count":144,"watchers_count":144,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":16,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563"},"html":{"href":"https://github.com/python-cmd2/cmd2/pull/563"},"issue":{"href":"https://api.github.com/repos/python-cmd2/cmd2/issues/563"},"comments":{"href":"https://api.github.com/repos/python-cmd2/cmd2/issues/563/comments"},"review_comments":{"href":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563/comments"},"review_comment":{"href":"https://api.github.com/repos/python-cmd2/cmd2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python-cmd2/cmd2/pulls/563/commits"},"statuses":{"href":"https://api.github.com/repos/python-cmd2/cmd2/statuses/6e546611bbc5139bcde898c6d8d6e5f9656f9510"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"marklalor"}}