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

Cyril Hrubis chrubis@suse.cz
Tue Jul 4 14:04:18 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?

> 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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list