Skip to content

Commit

Permalink
[fix_includes] Remove unused command-line flags
Browse files Browse the repository at this point in the history
Neither of invoking_command_line or find_affected_targets appear to have
any purpose.

No functional change intended.
  • Loading branch information
kimgr committed Aug 19, 2018
1 parent 854c91d commit c3b5264
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions fix_includes.py
Expand Up @@ -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, '
Expand Down
2 changes: 0 additions & 2 deletions fix_includes_test.py
Expand Up @@ -39,8 +39,6 @@ def __init__(self):
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

Expand Down

0 comments on commit c3b5264

Please sign in to comment.