Skip to content

Commit 42cf404

Browse files
Jacob KochemsJacob Kochems
authored andcommitted
Update docs to new nomenclature used in PR #647
1 parent 596c5f0 commit 42cf404

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/tutorial/printing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ The best results for your command line application would be achieved combining b
145145
In case you'd rather like to use the simple text ouput, but need **Rich** to be installed in your environment for any other reason, you can disable the use of **Rich** by **Typer**.
146146
There are two functions in the **Typer** module to control the output format globally, affecting all `typer.Typer()` instances:
147147

148-
1. `typer.enable_rich_help`
149-
2. `typer.enable_rich_traceback`
148+
1. `typer.set_rich_help(switch: bool)`
149+
2. `typer.set_rich_traceback(switch: bool)`
150150

151151
The first one controls all help and **Click's** exception messages. The second one controls the format of the stack trace.
152152

0 commit comments

Comments
 (0)