diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2022-02-13 14:36:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-02-14 08:31:00 +0100 |
commit | 5382df1422832fb7a18a2a39ac52fb75ababff17 (patch) | |
tree | 463bd6a0d79f2f53ceac3552fa85773f75307b0e /bin | |
parent | 58ac3288b5a4a1f1f9b21fed4f4c1ab06dd43db9 (diff) |
find-unneeded-includes: rename argument to --continue
sounds more natural than --dontstop
Change-Id: I4650f8bf97a426782828f0e088805551c5830acc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129880
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-unneeded-includes | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes index 93257451cce9..bdff09bf23eb 100755 --- a/bin/find-unneeded-includes +++ b/bin/find-unneeded-includes @@ -306,7 +306,7 @@ def tidy(compileCommands, paths, dontstop): def main(argv): parser = argparse.ArgumentParser(description='Check source files for unneeded includes.') - parser.add_argument('--dontstop', action='store_true', + parser.add_argument('--continue', action='store_true', help='Don\'t stop on errors. Useful for periodic re-check of large amount of files') parser.add_argument('Files' , nargs='*', help='The files to be checked') @@ -341,7 +341,7 @@ def main(argv): print ("File 'compile_commands.json' does not exist, please run:\nmake vim-ide-integration") sys.exit(-1) - tidy(compileCommands, paths=list_of_files, dontstop=args.dontstop) + tidy(compileCommands, paths=list_of_files, dontstop=vars(args)["continue"]) if __name__ == '__main__': main(sys.argv[1:]) |