print(" [file] can be:")
print(" A path to a file.")
print(" A path glob, such as "**/*.ext", in quotes to prevent shell expansion.")
print(" [target] accepts two special forms:")
print(" dir: to include all targets in the specified directory.")
print(" dir:: to include all targets found recursively under the directory.")
print("\nFriendly docs:\n http://pantsbuild.org/")
After Change
help_scopes = set(self._all_help_info.scope_to_help_info.keys())
else:
// The scopes explicitly mentioned by the user on the cmd line.
help_scopes = set(help_request.scopes)
if help_scopes:
for scope in help_scopes:
help_str = self._format_help(scope, help_request.advanced)