lightning-cli: print notifications (with '# ' prefix) if received.

This can be suppressed with -N.

Note that we wull get an error with older lightningd, but we ignore it
anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: cli: print notifications and progress bars if commands provide them.
This commit is contained in:
Rusty Russell
2020-10-12 16:03:50 +10:30
parent 806f208295
commit 41290a436f
7 changed files with 207 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ LIGHTNING_CLI_COMMON_OBJS := \
common/configdir.o \
common/json.o \
common/json_stream.o \
common/status_levels.o \
common/utils.o \
common/version.o