Skip to content

Commit 2aec4fb

Browse files
cxzl25dongjoon-hyun
authored andcommitted
ORC-1848: PrintData tool add parameter description
### What changes were proposed in this pull request? ```bash java -jar orc-tools-2.2.0-SNAPSHOT-uber.jar data -h usage: java -jar orc-tools-*.jar data <orc file>* -h,--help Provide help -n,--lines <LINES> Sets lines of data to be printed ``` ### Why are the changes needed? ```bash java -jar orc-tools-2.1.0-uber.jar data -h usage: java -jar orc-tools-*.jar data <orc file>* -h,--help Provide help -n,--lines <LINES> ``` ### How was this patch tested? local test ### Was this patch authored or co-authored using generative AI tooling? No Closes #2126 from cxzl25/ORC-1848. Authored-by: sychen <sychen@ctrip.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent 7f84d12 commit 2aec4fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/tools/src/java/org/apache/orc/tools/PrintData.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ private static Options getOptions() {
238238
.build();
239239
Option linesOpt = Option.builder("n").longOpt("lines")
240240
.argName("LINES")
241+
.desc("Sets lines of data to be printed")
241242
.hasArg()
242243
.build();
243244

0 commit comments

Comments
 (0)