diff options
| author | Barry Warsaw | 2017-07-22 03:02:05 +0000 |
|---|---|---|
| committer | Barry Warsaw | 2017-07-22 03:02:05 +0000 |
| commit | f00b94f18e1d82d1488cbcee6053f03423bc2f49 (patch) | |
| tree | 1a8e56dff0eab71e58e5fc9ecc5f3c614d7edca7 /src/mailman/commands/docs/version.rst | |
| parent | f54c045519300f6f70947d1114f46c2b8ae0d368 (diff) | |
| download | mailman-f00b94f18e1d82d1488cbcee6053f03423bc2f49.tar.gz mailman-f00b94f18e1d82d1488cbcee6053f03423bc2f49.tar.zst mailman-f00b94f18e1d82d1488cbcee6053f03423bc2f49.zip | |
Diffstat (limited to 'src/mailman/commands/docs/version.rst')
| -rw-r--r-- | src/mailman/commands/docs/version.rst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mailman/commands/docs/version.rst b/src/mailman/commands/docs/version.rst index 8032df20a..47667ac4a 100644 --- a/src/mailman/commands/docs/version.rst +++ b/src/mailman/commands/docs/version.rst @@ -2,11 +2,8 @@ Printing the version ==================== -You can print the Mailman version number. -:: +You can print the Mailman version number by invoking the ``version`` command. - >>> from mailman.commands.cli_version import Version - >>> command = Version() - - >>> command.process(None) + >>> command = cli('mailman.commands.cli_version.version') + >>> command('mailman version') GNU Mailman 3... |
