[LTP] [RFC PATCH 2/3] lib/C-API: Add option -V to print LTP version

Petr Vorel pvorel@suse.cz
Tue Jul 4 14:07:29 CEST 2023


> Hi!
> > > Why don't we print that as a part of help? Do we really need to allocate
> > > a flag for this?

> > Well, people expect -V or --verbose. But because I add printing also on running
> > test, we could just move it to -h.

> You mean --version right?

Yes, I'm sorry for a confusion.

> > BTW I was also thinking about using getopt_long(), at least to allow --help,
> > I guess you don't think any value in it.

> I do not think that it's importan enough to spend time on, but feel free
> to send a patch.

Agree. A real reason would be if netstress.c would need to have some more
options (there are still some room left, but not many).

Kind regards,
Petr


More information about the ltp mailing list