bash-completion icon indicating copy to clipboard operation
bash-completion copied to clipboard

feat(fio): update --crctest, --debug, and --terse-version arg completion

Open scop opened this issue 2 years ago • 5 comments

Syncs with fio 3.30.

scop avatar Jul 23 '22 06:07 scop

Maybe --showcmd=jobfile can also be supported?

I'm unable to find a version that would allow an argument to --showcmd; the one on Ubuntu 14, Debian 10, and current Fedora dev does not. Where did you come across it?

scop avatar Sep 03 '22 05:09 scop

Maybe --showcmd=jobfile can also be supported?

I'm unable to find a version that would allow an argument to --showcmd; the one on Ubuntu 14, Debian 10, and current Fedora dev does not. Where did you come across it?

I find it on the man page of fio 3.29 in Fedora 36 though again fio --help doesn't seem to include it. I'm not familiar with fio so it might be a typo on the man page?

akinomyoga avatar Sep 03 '22 05:09 akinomyoga

In addition to the man page, a document HOWTO.rst mentions --showcmd=jobfile, but the actual source code doesn't seem to support the option argument. This is just a naive guess, but I guess the jobfile is supposed to be given as an independent command line argument. In fact, when I specify an option argument to the option, I get the following error message:

$ fio --showcmd=file
fio: option '--showcmd' doesn't allow an argument
fio: unrecognized option '--showcmd=file'
Did you mean showcmd?

I think this is a typo of the man page and HOWTO.rst.

akinomyoga avatar Sep 03 '22 06:09 akinomyoga

Cool, fixes to the issues you found sent upstream: https://github.com/axboe/fio/pull/1460, https://github.com/axboe/fio/pull/1462

scop avatar Sep 03 '22 06:09 scop

Thank you!

akinomyoga avatar Sep 03 '22 06:09 akinomyoga