util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH 3/6] lscpu: change column names back to mixed case
Date: Mon, 10 Oct 2011 13:13:21 +0200	[thread overview]
Message-ID: <20111010111321.GA6695@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <20111010105945.GA17242@nb.net.home>

On Mon, Oct 10, 2011 at 12:59:45PM +0200, Karel Zak wrote:
> On Mon, Oct 10, 2011 at 10:59:41AM +0200, Heiko Carstens wrote:
> > Commit b9d18bc3 "lscpu: add column names to --help" changed all column names
> > to upper case only and printed the column names for the parsable output in
> > lower case.
> 
> This is bug. Sorry.
> 
> > However current behaviour was that for the parsable output the column names
> > were printed in mixed case. The change might break existing other tools and
> > breaks also the util-linux internal lscpu tests.
> > So revert part of the above commit and restore the old behaviour.
> 
> It would be better to fix the code (upper case for the first letter)
> than revert the patch.

I wanted to... but there is the special case "CPU" which was all upper case
already before :/
And adding special case handling in code sucks a bit, no?

> I think that we want to use the same concept for column names in all
> utils (findmnt, lsblk, ...) where we use upper case in help, man pages
> and all outputs. 
> 
> The old parsable output is exception, the new -e output should be
> compatible with the rest of util-linux.
> 
> I will fix it. Thanks.

Ok, will you update the (new) lscpu man page needs to be changed as well then.
I can send an update if you want.

Thanks,
Heiko

  reply	other threads:[~2011-10-10 11:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10  8:59 [PATCH 0/6] chcpu und lscpu updates Heiko Carstens
2011-10-10  8:59 ` [PATCH 1/6] lscpu: switch Yes/No output to lower case Heiko Carstens
2011-10-10  8:59 ` [PATCH 2/6] lscpu: fix typo in help text Heiko Carstens
2011-10-10  8:59 ` [PATCH 3/6] lscpu: change column names back to mixed case Heiko Carstens
2011-10-10 10:59   ` Karel Zak
2011-10-10 11:13     ` Heiko Carstens [this message]
2011-10-10 13:03       ` Karel Zak
2011-10-10  8:59 ` [PATCH 4/6] lscpu: add s390 kvm test case Heiko Carstens
2011-10-10  8:59 ` [PATCH 5/6] chcpu: man page update Heiko Carstens
2011-10-10  8:59 ` [PATCH 6/6] lscpu: " Heiko Carstens
2011-10-11 10:26 ` [PATCH 0/6] chcpu und lscpu updates Karel Zak

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=20111010111321.GA6695@osiris.boeblingen.de.ibm.com \
    --to=heiko.carstens@de.ibm.com \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).