Skip to content

Commit ad3e49c

Browse files
committed
printing the full help happens in response to the -h option and should go to stdout
1 parent 8426267 commit ad3e49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell/GraalPythonMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ protected String getLanguageId() {
703703

704704
@Override
705705
protected void printHelp(OptionCategory maxCategory) {
706-
print("usage: python [option] ... (-c cmd | file) [arg] ...\n" +
706+
System.out.println("usage: python [option] ... (-c cmd | file) [arg] ...\n" +
707707
"Options and arguments (and corresponding environment variables):\n" +
708708
"-B : this disables writing .py[co] files on import\n" +
709709
"-c cmd : program passed in as string (terminates option list)\n" +

0 commit comments

Comments
 (0)