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

[Help document bug] For imgcmp, the help document misses some options #342

Closed
ccccmd opened this issue Sep 30, 2022 · 0 comments
Closed

Comments

@ccccmd
Copy link

ccccmd commented Sep 30, 2022

The "--help" option of imgcmp misses the option "min", "max", "d“,"memory-limit", and "verbose" for version 3.0.6.

  • For the option "min", the following code appears during option parsing and modifies the minonly in src/app/imgcmp.c:203-204 for version 3.0.6.
			minonly = 1;
			break;
  • For the option "max", the following code appears during option parsing and modifies the maxonly in src/app/imgcmp.c:200-201 for version 3.0.6.
			maxonly = 1;
			break;
  • For the option "d", the following code appears during option parsing and modifies the diffpath in src/app/imgcmp.c:218-219 for version 3.0.6.
			diffpath = jas_optarg;
			break;
  • For the option "memory-limit", the following code appears during option parsing and modifies the max_mem in src/app/imgcmp.c:225-226 for version 3.0.6.
			max_mem = strtoull(jas_optarg, 0, 10);
			break;
  • For the option "verbose", the following code appears during option parsing and modifies the verbose in src/app/imgcmp.c:215-216 for version 3.0.6.
			verbose = 1;
			break;

But they do not appear in the document provided by "--help".

It may prevent users from using the relevant function.

@ccccmd ccccmd changed the title For imgcmp, the help document misses some options [Help document bug] For imgcmp, the help document misses some options Sep 30, 2022
@mdadams mdadams closed this as completed in e97639f Nov 4, 2022
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