From b9a98aa3412b4c0882b2e3bb89c8a10463e93c97 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 24 Feb 2018 00:35:44 -0500 Subject: Fixed removed_unused.py example and help for edit command The remove_unused.py example had become outdated since the cmdenvironment command no longer exists. The help text for the edit command was outdated since the functionality for editing previous commands got moved from the edit command to the history command. This closes #276. This closes #282. --- cmd2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd2.py') diff --git a/cmd2.py b/cmd2.py index 1c2daf7b..44f9bb1b 100755 --- a/cmd2.py +++ b/cmd2.py @@ -2176,7 +2176,7 @@ a..b, a:b, a:, ..b items by indices (inclusive) @with_argument_list def do_edit(self, arglist): - """Edit a file or command in a text editor. + """Edit a file in a text editor. Usage: edit [file_path] Where: -- cgit v1.2.1