public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [RFC PATCH 2/3] lib/C-API: Add option -V to print LTP version
Date: Tue, 4 Jul 2023 14:07:29 +0200	[thread overview]
Message-ID: <20230704120729.GE507064@pevik> (raw)
In-Reply-To: <ZKQKwpA87GUaoSpX@yuki>

> 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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2023-07-04 12:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-04  9:19 [LTP] [RFC PATCH 1/3] Makefile: Add C header with generated LTP version Petr Vorel
2023-07-04  9:19 ` Petr Vorel
2023-07-04  9:25   ` Petr Vorel
2023-07-13 11:58     ` Cyril Hrubis
2023-07-14  2:54       ` Li Wang
2023-07-14  4:53         ` Petr Vorel
2023-07-14  6:46         ` Cyril Hrubis
2023-07-14  9:25           ` Li Wang
2023-07-04  9:19 ` [LTP] [RFC PATCH 2/3] lib/C-API: Add option -V to print " Petr Vorel
2023-07-04 10:33   ` Cyril Hrubis
2023-07-04 11:50     ` Petr Vorel
2023-07-04 12:04       ` Cyril Hrubis
2023-07-04 12:07         ` Petr Vorel [this message]
2023-07-04  9:19 ` [LTP] [RFC PATCH 3/3] lib/C-API: Print LTP version at test start Petr Vorel
2023-07-04  9:26 ` [LTP] [RFC PATCH 1/3] Makefile: Add C header with generated LTP version Petr Vorel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230704120729.GE507064@pevik \
    --to=pvorel@suse.cz \
    --cc=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox