pmdk icon indicating copy to clipboard operation
pmdk copied to clipboard

benchmark:two seed parameters in the information printed by help

Open kelvin-qin opened this issue 4 years ago • 1 comments

ISSUE: There are two seed parameters in the information printed by help

When viewing the help information, there are always two identical arguments listed called "-s --seed", which are interpreted differently, but spelled and abbreviated exactly the same.

Environment Information

  • PMDK package version(s): 1.7
  • OS(es) version(s): CentOS 7.7
  • ndctl version(s): 64.1
  • kernel version(s): 5.4.6

Please provide a reproduction of the bug:

./pmembench obj_move -h
./pmembench obj_remove_free -h
./pmembench obj_insert_new  -h
./pmembench obj_insert  -h
./pmembench obj_remove  -h

more ……

How often bug is revealed: (always, often, rare): always

Actual behavior:

There are two seed parameters in the information printed by help.

Expected behavior:

There's only one seed

or

Change a different parameter name.

kelvin-qin avatar Dec 21 '20 02:12 kelvin-qin

Do these two parameters have the same effect? If they are different, how can they be distinguished when specified?

kelvin-qin avatar Dec 21 '20 02:12 kelvin-qin

This improvement is not considered vital at the moment. So, we do not have the resources to fulfil your request. Sorry.

janekmi avatar Aug 30 '23 18:08 janekmi