Skip to content
Snippets Groups Projects
  • Augie Fackler's avatar
    f3c4edfd35e1
    help: mark boolean flags with [no-] to explain that they can be negated · f3c4edfd35e1
    Augie Fackler authored
    That is, help gets tweaked thus:
    
      global options ([+] can be repeated):
       -v --[no-]verbose      enable additional output
    
    
    Other proposals have included:
    
      global options ([+] can be repeated, options marked [?] are boolean flags):
       -v --verbose[?]        enable additional output
    
    and
    
      global options ([+] can be repeated, options marked [^] are boolean flags):
       -v --verbose[^]        enable additional output
    
    which avoid the unfortunate visual noise in this patch. In this
    version's favor, it's consistent with what I'm used to seeing in man
    pages and similar documentation venues.
    f3c4edfd35e1
    History
    help: mark boolean flags with [no-] to explain that they can be negated
    Augie Fackler authored
    That is, help gets tweaked thus:
    
      global options ([+] can be repeated):
       -v --[no-]verbose      enable additional output
    
    
    Other proposals have included:
    
      global options ([+] can be repeated, options marked [?] are boolean flags):
       -v --verbose[?]        enable additional output
    
    and
    
      global options ([+] can be repeated, options marked [^] are boolean flags):
       -v --verbose[^]        enable additional output
    
    which avoid the unfortunate visual noise in this patch. In this
    version's favor, it's consistent with what I'm used to seeing in man
    pages and similar documentation venues.