Skip to content

Commit

Permalink
Update docs to new nomenclature used in PR #647
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Kochems authored and Jacob Kochems committed Sep 19, 2023
1 parent 596c5f0 commit 42cf404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/printing.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ The best results for your command line application would be achieved combining b
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**.
There are two functions in the **Typer** module to control the output format globally, affecting all `typer.Typer()` instances:

1. `typer.enable_rich_help`
2. `typer.enable_rich_traceback`
1. `typer.set_rich_help(switch: bool)`
2. `typer.set_rich_traceback(switch: bool)`

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

Expand Down

0 comments on commit 42cf404

Please sign in to comment.