bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60655] want option for output drivers to suppress comments


From: G. Branden Robinson
Subject: [bug #60655] want option for output drivers to suppress comments
Date: Sat, 22 May 2021 11:47:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #2, bug #60655 (project groff):


commit 2a1f6a6c686b009748d8b58dc900958b67263f10
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat May 22 20:46:48 2021 +1000

    [grohtml]: Implement -C and -G options.
    
    Add -C and -G options to grohtml output driver, to suppress the output
    of CreationDate and Creator HTML comments, respectively.  These can
    inject unwanted noise into build artifacts.
    
    * src/devices/grohtml/post-html.cpp: Add static globals
      `do_write_creator_comment` and `do_write_date_comment`.
    
      (html_printer::{do_file_components,~html_printer}): Write
      comments per corresponding global variables.
    
      (main): Add to `getopt_long()` call parameter and set as needed.
    
      (usage): Document them.
    
    * src/preproc/html/pre-html.cpp (scanArguments): Add to `getopt_long()`
      parameter, but ignore.
    
    * src/devices/grohtml/grohtml.1.man (Synopsis, Options): Document them.
    
    Fixes 1/3rd of <https://savannah.gnu.org/bugs/index.php?60655>.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60655>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]