diff options
Diffstat (limited to 'results/classifier/105/graphic/1239')
| -rw-r--r-- | results/classifier/105/graphic/1239 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/results/classifier/105/graphic/1239 b/results/classifier/105/graphic/1239 new file mode 100644 index 000000000..2030ca9ff --- /dev/null +++ b/results/classifier/105/graphic/1239 @@ -0,0 +1,49 @@ +graphic: 0.880 +mistranslation: 0.872 +other: 0.846 +device: 0.844 +KVM: 0.834 +vnc: 0.799 +socket: 0.784 +network: 0.776 +instruction: 0.772 +semantic: 0.745 +assembly: 0.735 +boot: 0.712 + +The help document of qemu-img misses some options +Description of problem: +The "--help" option of qemu-img misses the option "skip-broken-bitmaps" for convert , "image-opts" for bench, "object" for dd and "force-share" for measure. +Steps to reproduce: +1. For the option "skip-broken-bitmaps", the following code appears during option parsing for convert and modifies the skip_broken in qemu-img.c:2377-2379. + +``` + case OPTION_SKIP_BROKEN: + skip_broken = true; + break; +``` + +2. For the option "image-opts", the following code appears during option parsing for bench and modifies the image_opts in qemu-img.c:4511-4513. + +``` + case OPTION_IMAGE_OPTS: + image_opts = true; + break; +``` +3. For the option "object", the following code appears during option parsing for dd and calls the user_creatable_process_cmdline in qemu-img.c:4980-4982. + +``` + case OPTION_OBJECT: + user_creatable_process_cmdline(optarg); + break; +``` +4. For the option "force-share", the following code appears during option parsing for measure and modifies the force_share in qemu-img.c:5237-5239. +``` + case 'U': + force_share = true; + break; +``` +Additional information: +But they do not appear in the document provided by "--help". + +It may prevent users from using the relevant function. |