@@ -638,10 +638,6 @@ def doc_option_example(self, arg_name, help_command, event_name, **kwargs):
638
638
member , include_enum_values = False
639
639
)
640
640
doc .write ('%s %s ...' % (example_type , example_type ))
641
- if isinstance (member , StringShape ) and member .enum :
642
- # If we have enum values, we can tell the user
643
- # exactly what valid values they can provide.
644
- self ._write_valid_enums (doc , member .enum )
645
641
doc .style .end_codeblock ()
646
642
doc .style .new_paragraph ()
647
643
elif cli_argument .cli_type_name not in SCALAR_TYPES :
@@ -652,13 +648,6 @@ def doc_option_example(self, arg_name, help_command, event_name, **kwargs):
652
648
doc .style .end_codeblock ()
653
649
doc .style .new_paragraph ()
654
650
655
- def _write_valid_enums (self , doc , enum_values ):
656
- doc .style .new_paragraph ()
657
- doc .write ("Where valid values are:\n " )
658
- for value in enum_values :
659
- doc .write (" %s\n " % value )
660
- doc .write ("\n " )
661
-
662
651
def doc_output (self , help_command , event_name , ** kwargs ):
663
652
doc = help_command .doc
664
653
doc .style .h2 ('Output' )
0 commit comments