Skip to content
Snippets Groups Projects
  • Tom de Vries's avatar
    75017bb9
    check_GNU_style.py: Read stdin if file argument is '-' · 75017bb9
    Tom de Vries authored
    2017-05-29  Tom de Vries  <tom@codesourcery.com>
    
    	* check_GNU_style_lib.py (check_GNU_style_file): Treat file argument as
    	file handle.  Add and handle file_encoding argument.
    	* check_GNU_style.py (main): Handle '-' file argument.  Call
    	check_GNU_style_file with file handle as argument.
    
    From-SVN: r248555
    75017bb9
    History
    check_GNU_style.py: Read stdin if file argument is '-'
    Tom de Vries authored
    2017-05-29  Tom de Vries  <tom@codesourcery.com>
    
    	* check_GNU_style_lib.py (check_GNU_style_file): Treat file argument as
    	file handle.  Add and handle file_encoding argument.
    	* check_GNU_style.py (main): Handle '-' file argument.  Call
    	check_GNU_style_file with file handle as argument.
    
    From-SVN: r248555