Browse Source

[autohelp] Update opt types

Copy/paste (mostly) the dict from oslo.config.

Change-Id: I16c9e554f29f7dee08768d4a7c02991ad8718f66
changes/23/461123/1
Gauvain Pocentek 4 years ago
parent
commit
4534f04bad
  1. 7
      autogenerate_config_docs/autohelp.py

7
autogenerate_config_docs/autohelp.py

@ -55,14 +55,15 @@ _TYPE_DESCRIPTIONS = {
cfg.StrOpt: 'String',
cfg.BoolOpt: 'Boolean',
cfg.IntOpt: 'Integer',
cfg.IPOpt: 'IP',
cfg.FloatOpt: 'Floating point',
cfg.HostnameOpt: 'Hostname',
cfg.ListOpt: 'List',
cfg.DictOpt: 'Dict',
cfg.PortOpt: 'Port number',
cfg.MultiStrOpt: 'Multi-valued',
cfg.IPOpt: 'IP address',
cfg.PortOpt: 'Port number',
cfg.HostnameOpt: 'Hostname',
cfg.URIOpt: 'URI',
cfg.HostAddressOpt: 'Host address',
cfg._ConfigFileOpt: 'List of filenames',
cfg._ConfigDirOpt: 'List of directory names',
}

Loading…
Cancel
Save