summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-05-17 14:37:53 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-05-17 14:53:48 -0400
commitd24f1ad429aab3beb15968d34d77ef757ca4ea6e (patch)
treeeaf94f723ad7d56255c4f492de6f08e2c7d788e3 /docs
parent699c90ea37b35d1e512c56e8c468d60c7131eb98 (diff)
downloadcmd2-git-d24f1ad429aab3beb15968d34d77ef757ca4ea6e.tar.gz
Fixed allow_redirection documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/features/redirection.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/features/redirection.rst b/docs/features/redirection.rst
index 677c573d..c7d0ea98 100644
--- a/docs/features/redirection.rst
+++ b/docs/features/redirection.rst
@@ -64,6 +64,7 @@ Disabling Redirection
from cmd2 import Cmd
class App(Cmd):
def __init__(self):
+ super().__init__()
self.allow_redirection = False
cmd2's parser will still treat the ``>``, ``>>``, and `|` symbols as output