File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2184,7 +2184,7 @@ def do_history(self, args):
21842184
21852185 @with_argument_list
21862186 def do_edit (self , arglist ):
2187- """Edit a file or command in a text editor.
2187+ """Edit a file in a text editor.
21882188
21892189Usage: edit [file_path]
21902190 Where:
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ def __init__(self):
1919 cmd2 .Cmd .__init__ (self )
2020
2121 # To hide commands from displaying in the help menu, add their function name to the exclude_from_help list
22- self .exclude_from_help .append ('do__relative_load ' )
22+ self .exclude_from_help .append ('do_py ' )
2323
2424 # To remove built-in commands entirely, delete their "do_*" function from the cmd2.Cmd class
25- del cmd2 .Cmd .do_cmdenvironment
25+ del cmd2 .Cmd .do_edit
2626
2727
2828if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments