Tutorial: fixed typo in 'How your command should print to stdout' section

This commit is contained in:
Jason Gerard DeRose 2008-11-14 14:53:55 -07:00
parent caa98476f0
commit f8f4058014

View File

@ -607,7 +607,7 @@ For example, say we setup a command like this:
Normally when you invoke the ``ipa`` script, `cli.CLI.load_plugins()` will Normally when you invoke the ``ipa`` script, `cli.CLI.load_plugins()` will
register the `cli.textui` backend plugin, but for the sake of our example, register the `cli.textui` backend plugin, but for the sake of our example,
we just create an instance here: we will just create an instance here:
>>> from ipalib import cli >>> from ipalib import cli
>>> textui = cli.textui() # We'll pass this to output_for_cli() >>> textui = cli.textui() # We'll pass this to output_for_cli()