Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate -i in AMIDictionary #13

Open
petermr opened this issue Aug 1, 2019 · 0 comments
Open

Duplicate -i in AMIDictionary #13

petermr opened this issue Aug 1, 2019 · 0 comments
Assignees

Comments

@petermr
Copy link
Owner

petermr commented Aug 1, 2019

ami-dictionary --help
Exception in thread "main" picocli.CommandLine$DuplicateOptionAnnotationsException: Option name '-i' is used by both field String org.contentmine.ami.tools.AMIDictionaryTool.input and field String org.contentmine.ami.tools.AbstractAMITool.input
	at picocli.CommandLine$DuplicateOptionAnnotationsException.create(CommandLine.java:10692)
	at picocli.CommandLine$DuplicateOptionAnnotationsException.access$1600(CommandLine.java:10686)
	at picocli.CommandLine$Model$CommandSpec.addOption(CommandLine.java:3931)
	at picocli.CommandLine$Model$CommandReflection.initFromAnnotatedTypedMembers(CommandLine.java:6463)
	at picocli.CommandLine$Model$CommandReflection.initFromAnnotatedFields(CommandLine.java:6441)
	at picocli.CommandLine$Model$CommandReflection.extractCommandSpec(CommandLine.java:6346)
	at picocli.CommandLine$Model$CommandSpec.forAnnotatedObject(CommandLine.java:3740)
	at picocli.CommandLine.<init>(CommandLine.java:185)
	at picocli.CommandLine.<init>(CommandLine.java:164)
	at picocli.CommandLine.call(CommandLine.java:1785)
	at picocli.CommandLine.call(CommandLine.java:1710)
	at org.contentmine.ami.tools.AbstractAMITool.runCommands(AbstractAMITool.java:297)
	at org.contentmine.ami.tools.AMIDictionaryTool.main(AMIDictionaryTool.java:370)
@petermr petermr self-assigned this Aug 1, 2019
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

No branches or pull requests

1 participant