From: Stephen Hemminger <stephen@networkplumber.org>
To: Petr Machata <petrm@mellanox.com>
Cc: netdev@vger.kernel.org, dsahern@gmail.com
Subject: Re: [PATCH iproute2-next] tc: pedit: Support JSON dumping
Date: Wed, 22 Apr 2020 13:02:45 -0700 [thread overview]
Message-ID: <20200422130245.53026ff7@hermes.lan> (raw)
In-Reply-To: <19073d9bc5a2977a5a366caf5e06b392e4b63e54.1587575157.git.petrm@mellanox.com>
On Wed, 22 Apr 2020 20:06:15 +0300
Petr Machata <petrm@mellanox.com> wrote:
> + print_string(PRINT_FP, NULL, ": %s",
> + cmd ? "add" : "val");
> + print_string(PRINT_JSON, "cmd", NULL,
> + cmd ? "add" : "set");
Having different outputs for JSON and file here. Is that necessary?
JSON output is new, and could just mirror existing usage.
next prev parent reply other threads:[~2020-04-22 20:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 17:06 [PATCH iproute2-next] tc: pedit: Support JSON dumping Petr Machata
2020-04-22 20:02 ` Stephen Hemminger [this message]
2020-04-23 9:59 ` Petr Machata
2020-04-26 18:23 ` David Ahern
2020-04-27 23:09 ` Stephen Hemminger
2020-04-28 9:32 ` Petr Machata
2020-04-28 11:47 ` Petr Machata
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=20200422130245.53026ff7@hermes.lan \
--to=stephen@networkplumber.org \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=petrm@mellanox.com \
/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).