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