On Fri, Jul 28, 2023 at 11:53:07AM -0400, Theodore Ts'o wrote: > On Thu, Jul 27, 2023 at 11:30:46PM +0800, Zorro Lang wrote: > > > > Yeah, I'd like to tidy the ./check, include the option names. But change the > > check option format will affect many users, cause most of their scripts go > > wrong suddently, then they need to check and use new option format. That's > > why I still not touch this part. > > What if we add support for the double-hyphen variant for those options > that use a syingle-hyphen, and then wait say, a year or so, and then > add a deprecation warning to the single hyphen options, and then a > year latter drop support the single-hypen variant? > > I can send a patch for the first part of the process if you think that > makes sense.... Sure, that makes sense to me. Let's take the first step, we'll see the influence :) And I'd like to use bash buildin getopts() or other standard ways to deal with ./check options, when we can replace those single-hyphen options totally. If you have any better idea, feel free to share with me :) BTW, several month ago I tried to check with you that: https://lore.kernel.org/fstests/20230207182656.ekjt2lhbid6xf2cs@zlang-mailbox/ Any thoughts? Thanks, Zorro > > - Ted >