File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,11 +47,13 @@ objects. In badly formed English it is expressed as "(Take) object1
4747
4848 <object-1> <action> <object-2>
4949
50- Examples::
50+ Examples:
5151
52- group add user <group> <user>
52+ .. code-block :: bash
5353
54- volume type list # 'volume type' is a two-word single object
54+ $ group add user < group> < user>
55+
56+ $ volume type list # 'volume type' is a two-word single object
5557
5658
5759 Command Arguments and Options
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Plugins are discovered by enumerating the entry points
1414found under :py:mod: `openstack.cli.extension ` and initializing the specified
1515client module.
1616
17- ::
17+ .. code-block :: ini
1818
1919 [entry_points]
2020 openstack.cli.extension =
@@ -39,7 +39,7 @@ The client module must implement the following interface functions:
3939OSC enumerates the plugin commands from the entry points in the usual manner
4040defined for the API version:
4141
42- ::
42+ .. code-block :: ini
4343
4444 openstack.oscplugin.v1 =
4545 plugin_list = oscplugin.v1.plugin:ListPlugin
@@ -48,7 +48,7 @@ defined for the API version:
4848 Note that OSC defines the group name as :py:mod: `openstack.<api-name>.v<version> `
4949so the version should not contain the leading 'v' character.
5050
51- ::
51+ .. code-block :: python
5252
5353 DEFAULT_OSCPLUGIN_API_VERSION = ' 1'
5454
You can’t perform that action at this time.
0 commit comments