Merge "Support comments option in query command"

This commit is contained in:
Martin Fick
2011-07-29 09:51:19 -07:00
committed by Android Code Review
9 changed files with 150 additions and 19 deletions

View File

@@ -51,6 +51,11 @@ class Query extends BaseCommand {
processor.setIncludeApprovals(on);
}
@Option(name = "--comments", usage = "Include patch set and inline comments")
void setComments(boolean on) {
processor.setIncludeComments(on);
}
@Argument(index = 0, required = true, multiValued = true, metaVar = "QUERY", usage = "Query to execute")
private List<String> query;