diff options
| author | kotfu <kotfu@kotfu.net> | 2020-02-22 12:22:35 -0700 |
|---|---|---|
| committer | kotfu <kotfu@kotfu.net> | 2020-02-22 12:22:35 -0700 |
| commit | f5806d06e0c453c189c99a1dce5ef98208c4d8cf (patch) | |
| tree | 72722498e07da1b2e75680aa5a4ddb19dbf2f034 /docs/features/transcripts.rst | |
| parent | 375776e8a0281a47afa2846a19687206c5f9fee1 (diff) | |
| download | cmd2-git-f5806d06e0c453c189c99a1dce5ef98208c4d8cf.tar.gz | |
Revisions and improvements for hooks and plugins
Diffstat (limited to 'docs/features/transcripts.rst')
| -rw-r--r-- | docs/features/transcripts.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/features/transcripts.rst b/docs/features/transcripts.rst index 1af2a74f..fa6d9cb3 100644 --- a/docs/features/transcripts.rst +++ b/docs/features/transcripts.rst @@ -185,9 +185,10 @@ output matches the expected result from the transcript. .. note:: - If you have set ``allow_cli_args`` to False in order to disable parsing of - command line arguments at invocation, then the use of ``-t`` or ``--test`` to - run transcript testing is automatically disabled. In this case, you can + If you have passed an ``allow_cli_args`` parameter containing `False` to + :meth:`cmd2.Cmd.__init__` in order to disable parsing of command line + arguments at invocation, then the use of ``-t`` or ``--test`` to run + transcript testing is automatically disabled. In this case, you can alternatively provide a value for the optional ``transcript_files`` when constructing the instance of your ``cmd2.Cmd`` derived class in order to cause a transcript test to run:: |
