File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -620,8 +620,11 @@ keyword argument::
620620color
621621^^^^^ 
622622
623- By default, the help message is printed in color. If you want plain text
624- help messages, you can disable it by setting ``color `` to ``False ``::
623+ By default, the help message is printed in color using `ANSI escape sequences 
624+ <https://en.wikipedia.org/wiki/ANSI_escape_code> `__.
625+ If you want plain text help messages, you can disable this :ref: `in your local 
626+ environment <using-on-controlling-color>`, or in the argument parser itself
627+ by setting ``color `` to ``False ``::
625628
626629   >>> parser = argparse.ArgumentParser(description='Process some integers.', 
627630   ...                                  color=False) 
@@ -630,9 +633,6 @@ help messages, you can disable it by setting ``color`` to ``False``::
630633   ...                     help='an integer for the accumulator') 
631634   >>> parser.parse_args(['--help']) 
632635
633- Even if a CLI author has not disabled color, it can be
634- :ref: `controlled using environment variables  <using-on-controlling-color >`.
635- 
636636.. versionadded :: 3.14 
637637
638638
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments