imagej / imagej-launcher

The ImageJ native launcher
https://imagej.net/learn/launcher
BSD 2-Clause "Simplified" License
21 stars 23 forks source link

Document command line options supported by ImageJ itself #20

Open ctrueden opened 10 years ago

ctrueden commented 10 years ago

@PaulVanSchayck writes:

Yes, fiji does show the --js option. However ImageJ2 does not. And while I (now!) understand the technical reasons why the -macro option is not mentioned it makes for a very confusing user experience. Right now, for someone new to IJ it's very difficult to understand the relation between IJ1 and IJ2. The help of the commands not being complete adds to that.

We should document all the options supported by ImageJ itself on the Java side, not just those supported by the launcher itself. It is the ImageJ launcher, after all.

Since ImageJ2 makes these options extensible, one possibility would be for the launcher to invoke net.imagej.Main with --help when it is given --help, so that ImageJ itself can report its own help instructions in addition to those of the launcher.