diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-31 23:13:27 -0500 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-31 23:13:27 -0500 |
| commit | 076c9ebea10fba2a978d19057caccab9e8862ab4 (patch) | |
| tree | a1ae525672109429e3a6e2fd7d5cc53f0b52106e /examples | |
| parent | eb995fafdddc3de9632c3bcb05356e79ee46dc5c (diff) | |
| download | cmd2-git-076c9ebea10fba2a978d19057caccab9e8862ab4.tar.gz | |
Attempt to fix remaining black failures
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/exit_code.py | 7 | ||||
| -rwxr-xr-x | examples/python_scripting.py | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/examples/exit_code.py b/examples/exit_code.py index a35b4df8..9f940f69 100755 --- a/examples/exit_code.py +++ b/examples/exit_code.py @@ -17,10 +17,9 @@ class ReplWithExitCode(cmd2.Cmd): def do_exit(self, arg_list: List[str]) -> bool: """Exit the application with an optional exit code. -Usage: exit [exit_code] - Where: - * exit_code - integer exit code to return to the shell -""" + Usage: exit [exit_code] + Where: + * exit_code - integer exit code to return to the shell""" # If an argument was provided if arg_list: try: diff --git a/examples/python_scripting.py b/examples/python_scripting.py index 9465f697..3aa61467 100755 --- a/examples/python_scripting.py +++ b/examples/python_scripting.py @@ -55,8 +55,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: |
