mbox series

[nft,0/2] Improve a few minor JSON glitches

Message ID 20190624171038.24672-1-phil@nwl.cc
Headers show
Series Improve a few minor JSON glitches | expand

Message

Phil Sutter June 24, 2019, 5:10 p.m. UTC
As suggested offline, print newline at end of JSON output (patch 1) and
don't ignore -j flag if JSON support is not compiled-in - bail instead
(patch 2).

Phil Sutter (2):
  json: Print newline at end of list output
  main: Bail if non-available JSON was requested

 src/json.c | 2 ++
 src/main.c | 3 +++
 2 files changed, 5 insertions(+)

Comments

Pablo Neira Ayuso June 25, 2019, 12:17 a.m. UTC | #1
On Mon, Jun 24, 2019 at 07:10:36PM +0200, Phil Sutter wrote:
> As suggested offline, print newline at end of JSON output (patch 1) and
> don't ignore -j flag if JSON support is not compiled-in - bail instead
> (patch 2).

Applied.