diff options
Diffstat (limited to 'src/mailman/commands/docs/info.txt')
| -rw-r--r-- | src/mailman/commands/docs/info.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/commands/docs/info.txt b/src/mailman/commands/docs/info.txt index d990b514e..85af9325b 100644 --- a/src/mailman/commands/docs/info.txt +++ b/src/mailman/commands/docs/info.txt @@ -3,7 +3,8 @@ Getting information =================== You can get information about Mailman's environment by using the command line -script 'mailman info'. By default, the info is printed to standard output. +script ``mailman info``. By default, the info is printed to standard output. +:: >>> from mailman.commands.cli_info import Info >>> command = Info() @@ -20,7 +21,7 @@ script 'mailman info'. By default, the info is printed to standard output. config file: .../test.cfg db url: sqlite:.../mailman.db -By passing in the -o/--output option, you can print the info to a file. +By passing in the ``-o/--output`` option, you can print the info to a file. >>> from mailman.config import config >>> import os |
