On 14/03/21 6:21 pm, Alan Bateman wrote:
On 12/03/2021 12:18, Lance Andersen wrote:
:
I don’t have a strong preference but lean slightly towards
‘-directory’ as it is more descriptive, similar to the other
GNU-style commands jar currently supports . Tar supports ‘—cd’,
‘—directory’ in addition to ‘-C’ which is why I suggested supporting
both GNU-style long options.
Perhaps jpackage should also support —dir/directory in addition to
‘—dest' if we are looking at consistency between java tools.
I do agree that it would be nice to be consistent across the java
tools for options so if we go the ‘-directory’, we should follow your
suggestion and make it the primary and remove ‘—dir’ from the usage
output.
My comment on consistency was limited to the long option to specify
the directory when extracting, didn't mean to suggest doing anything
with the other tools that specify an output/destination directory. In
any case, I think we have enough to make progress on this issue now.
I'll sending the man page content that I have been working on, shortly
and will then go ahead with changing the PR to incorporate some of the
feedback received in this discussion.
-Jaikiran