From a57ae08ebe526bf7ac1233f9dabae839414b0e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20B=C3=B6gershausen?= Date: Mon, 9 Dec 2019 11:00:50 +0100 Subject: [PATCH] check_fix_white_space.py: Hint the user about --fix When the script detects whitespace damage, hint the user that the same script can fix it. --- check_fix_white_space.py | 1 + 1 file changed, 1 insertion(+) diff --git a/check_fix_white_space.py b/check_fix_white_space.py index cf6fe3c..c03a737 100755 --- a/check_fix_white_space.py +++ b/check_fix_white_space.py @@ -90,6 +90,7 @@ if __name__ == "__main__": for file in incorrect_files: print("ERROR: '{}' has white space damage".format(file)) if incorrect_files: + print('run %s --fix' % sys.argv[0]) exit(1) except IOError as e: print(e) # Likely no files found