Commit Graph

4 Commits

Author SHA1 Message Date
Tom de Vries 75017bb975 check_GNU_style.py: Read stdin if file argument is '-'
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
2017-05-29 07:31:02 +00:00
Tom de Vries b7fc9ae0aa check_GNU_style.py: print usage if no file specified
2017-05-24  Tom de Vries  <tom@codesourcery.com>

	* check_GNU_style_lib.py: New file, factored out of ...
	* check_GNU_style.py: ... here.  Call main unconditionally.

From-SVN: r248403
2017-05-24 08:49:56 +00:00
Martin Liska 43e89e0a1e Make the script executable.
From-SVN: r248282
2017-05-19 13:48:52 +00:00
Martin Liska 850098ebf0 Introduce new check_GNU_style.py script.
2017-05-19  Martin Liska  <mliska@suse.cz>

	* check_GNU_style.py: New file.

From-SVN: r248281
2017-05-19 13:47:53 +00:00