summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-02-20 16:28:30 -0500
committerGitHub <noreply@github.com>2021-02-20 16:28:30 -0500
commita7119e1b26a8bae531b118b7cb8c4b195f731df6 (patch)
tree46b53d0f530d6ae273c4379272684ee80026658a /examples/python_scripting.py
parent06aaf962689840631325c70ea7e9056d176c7f67 (diff)
parent486b8c726a7d657ef320e68598077c31fa664790 (diff)
downloadcmd2-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-xexamples/python_scripting.py5
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())