File tree Expand file tree Collapse file tree
src/main/java/org/apache/parquet/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ Usage: parquet [options] [command] [command options]
128128
129129 Examples:
130130
131- # print information for version
132- parquet help version
131+ # print information for meta
132+ parquet help meta
133133
134134 See 'parquet help <command>' for more information on a specific command.
135135```
Original file line number Diff line number Diff line change 2525import com .beust .jcommander .ParameterDescription ;
2626import com .beust .jcommander .Parameters ;
2727import com .google .common .collect .Lists ;
28+ import java .util .Arrays ;
2829import java .util .List ;
2930import org .slf4j .Logger ;
3031
@@ -116,7 +117,7 @@ public void printGenericHelp() {
116117 }
117118
118119 jc .getCommands ().keySet ().stream ()
119- .filter (s -> !s . equals ( " help" ))
120+ .filter (s -> !Arrays . asList ( "version" , " help"). contains ( s ))
120121 .findFirst ()
121122 .ifPresent (command -> {
122123 console .info ("\n Examples:" );
You can’t perform that action at this time.
0 commit comments