Support comments option in query command
Query SSH command will show all comments if option --comments is used. If --comments is used together with --patch-sets all inline comments are included in the output. Bug: issue 1063 Change-Id: If417204f18cdcfd3bc09a4a2eb2d54f4c1a8e8ff
This commit is contained in:
committed by
Mika Hämäläinen
parent
d46ee8bade
commit
0917a2b763
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user