Skip to content

Commit

Permalink
JENA-1724: Print query to stderr when versbose
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Jun 21, 2019
1 parent c200ab9 commit 90767a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jena-cmds/src/main/java/arq/query.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,11 @@ protected void queryExec(boolean timed, ResultsFormat fmt)
try {
Query query = modQuery.getQuery() ;
if ( isVerbose() ) {
IndentedWriter out = new IndentedWriter(System.out, true);
IndentedWriter out = new IndentedWriter(System.err, true);
query.serialize(out);
out.setLineNumbers(false);
out.println();
out.flush();
System.out.println();
}

if ( isQuiet() )
Expand Down

0 comments on commit 90767a9

Please sign in to comment.