diff options
author | Kim Grasman <kim.grasman@gmail.com> | 2018-08-19 14:51:57 +0200 |
---|---|---|
committer | Kim Grasman <kim.grasman@gmail.com> | 2018-08-19 14:51:57 +0200 |
commit | c3b5264ca55a768ce4ed0218f2ebf96097a4d4f0 (patch) | |
tree | 70fff80254eebf65f5e95a6d78a98ba0386bcf5b | |
parent | 854c91dbcc096fa57f259fb65b58ed221cc1fe9c (diff) |
[fix_includes] Remove unused command-line flags
Neither of invoking_command_line or find_affected_targets appear to have
any purpose.
No functional change intended.
-rwxr-xr-x | fix_includes.py | 4 | ||||
-rwxr-xr-x | fix_includes_test.py | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fix_includes.py b/fix_includes.py index 8ead1e1..fc223e8 100755 --- a/fix_includes.py +++ b/fix_includes.py @@ -2348,10 +2348,6 @@ def main(argv): ' same project. If not specified, project #includes' ' will be sorted with other non-system #includes.')) - parser.add_option('--invoking_command_line', default=None, - help=('Internal flag used by iwyu.py, It should be the' - ' command line used to invoke iwyu.py')) - parser.add_option('-m', '--keep_iwyu_namespace_format', action='store_true', default=False, help=('Keep forward-declaration namespaces in IWYU format, ' diff --git a/fix_includes_test.py b/fix_includes_test.py index a5ab537..45a8d8d 100755 --- a/fix_includes_test.py +++ b/fix_includes_test.py @@ -39,8 +39,6 @@ class FakeFlags(object): self.only_re = None self.safe_headers = False self.separate_project_includes = None - self.invoking_command_line = 'iwyu.py my_targets' - self.find_affected_targets = True self.keep_iwyu_namespace_format = False self.reorder = True |