```$ ./pants --no-use-nailgun compile examples/src...
# general
r
Copy code
$ ./pants --no-use-nailgun compile examples/src/java::

Exception caught: (<class 'pants.option.errors.ParseError'>)
  File "/Users/kwilson/dev/pants/src/python/pants/bin/pants_exe.py", line 32, in <module>
    main()
  File "/Users/kwilson/dev/pants/src/python/pants/bin/pants_exe.py", line 26, in main
    LocalPantsRunner(exiter).run()
  File "/Users/kwilson/dev/pants/src/python/pants/bin/pants_runner.py", line 60, in run
    self._maybe_profiled(self._run)
  File "/Users/kwilson/dev/pants/src/python/pants/bin/pants_runner.py", line 57, in _maybe_profiled
    runner()
  File "/Users/kwilson/dev/pants/src/python/pants/bin/pants_runner.py", line 68, in _run
    self.exiter.apply_options(options)
  File "/Users/kwilson/dev/pants/src/python/pants/bin/exiter.py", line 49, in apply_options
    self._should_print_backtrace = options.for_global_scope().print_exception_stacktrace
  File "/Users/kwilson/dev/pants/src/python/pants/option/options.py", line 310, in for_global_scope
    return self.for_scope(GLOBAL_SCOPE)
  File "/Users/kwilson/dev/pants/src/python/pants/option/options.py", line 260, in for_scope
    self._parser_hierarchy.get_parser_by_scope(scope).parse_args(flags_in_scope, values)
  File "/Users/kwilson/dev/pants/src/python/pants/option/parser.py", line 197, in parse_args
    self._scope_str(), ', '.join(flag_value_map.keys())))

Exception message: Unrecognized command line flags on global scope: --no-use-nailgun