diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-02-20 16:28:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 16:28:30 -0500 |
commit | a7119e1b26a8bae531b118b7cb8c4b195f731df6 (patch) | |
tree | 46b53d0f530d6ae273c4379272684ee80026658a /examples/python_scripting.py | |
parent | 06aaf962689840631325c70ea7e9056d176c7f67 (diff) | |
parent | 486b8c726a7d657ef320e68598077c31fa664790 (diff) | |
download | cmd2-git-a7119e1b26a8bae531b118b7cb8c4b195f731df6.tar.gz |
Merge pull request #1052 from python-cmd2/black
Add black and isort GitHub Action Workflows
Diffstat (limited to 'examples/python_scripting.py')
-rwxr-xr-x | examples/python_scripting.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/python_scripting.py b/examples/python_scripting.py index 5d3f43b3..bb43095e 100755 --- a/examples/python_scripting.py +++ b/examples/python_scripting.py @@ -57,8 +57,8 @@ class CmdLineApp(cmd2.Cmd): @cmd2.with_argument_list def do_cd(self, arglist): """Change directory. - Usage: - cd <new_dir> + Usage: + cd <new_dir> """ # Expect 1 argument, the directory to change to if not arglist or len(arglist) != 1: @@ -120,5 +120,6 @@ class CmdLineApp(cmd2.Cmd): if __name__ == '__main__': import sys + c = CmdLineApp() sys.exit(c.cmdloop()) |