Skip to content

Conversation

@djhworld
Copy link
Contributor

https://issues.apache.org/jira/browse/PARQUET-668

  1. Added option --disable-crop
  2. Updated README.md to reflect changes

once
-d,--disable-data Do not dump column data
--debug Disable color output even if supported
--debug Enable debug output
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing. I see the same error above. (line 85, 92)
either add -n in those paragraphs as well or rework a little to avoid repetition.
(common options paragraph or something)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text in the README is just the output of running java -jar parquet-tools.jar -h, and that help string is generated in Main.java (it merges the common option flags like --debug into every other command, see https://github.com/apache/parquet-mr/blob/master/parquet-tools/src/main/java/org/apache/parquet/tools/Main.java#L94) - so this help text is auto generated

I've updated the others items in the README with the correct output.

Copy link
Contributor Author

@djhworld djhworld Aug 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although do we even need the whole help string in the README? This issue could happen again if the options change.

Might be better to just direct the user to run -h to get usage details

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point. Yes, showing the command line to get help would be better.

@julienledem
Copy link
Member

just one comment regarding README. otherwise. LGTM
Thanks!

@djhworld
Copy link
Contributor Author

djhworld commented Aug 2, 2016

Updated README as discussed, only the --help flag is displayed now.

@julienledem
Copy link
Member

LGTM

@asfgit asfgit closed this in ea402be Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants