ajenhl / tacl

Tool for performing basic text analysis on the CBETA corpus
GNU General Public License v3.0
30 stars 9 forks source link

Supplied query help is misleading about argument order #36

Closed ajenhl closed 8 years ago

ajenhl commented 9 years ago

The automatic usage information in the help for sdiff and sintersect is misleading/wrong. If the database is given after -l or -s, it is interpreted as another element in those sets, and the invocation fails due to a "missing" database argument.

The underlying problem is one of parsing a command that has more than one variable length list of argument values, but the current practical solution is to make it explicit in the help text that the order in the example command given is the way to go.

ajenhl commented 9 years ago

This is already specified in the help (but is clearly easy to miss!). Leaving this issue open to prompt investigating other options periodically.