Displaying 2 results from an estimated 2 matches for "f37ffea".
Did you mean:
  f37ffc1
  
2020 Aug 03
0
[libnbd PATCH 4/4] info: Permit --size --json
A single integer IS a valid JSON document, after all, at least
according to RFC8259.
---
 info/nbdinfo.c | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/info/nbdinfo.c b/info/nbdinfo.c
index f37ffea..2e0bf27 100644
--- a/info/nbdinfo.c
+++ b/info/nbdinfo.c
@@ -158,11 +158,6 @@ main (int argc, char *argv[])
     usage (stderr, EXIT_FAILURE);
   /* You can combine certain options. */
-  if (json_output && size_only) {
-    fprintf (stderr, "%s: you cannot use %s and %s together.\n&...
2020 Aug 03
5
[libnbd PATCH 0/4] More nbdinfo fixes
This rounds up the remaining bugs that I originally identified in:
https://www.redhat.com/archives/libguestfs/2020-July/msg00153.html
Eric Blake (4):
  api: Permit export list APIs when Connected
  info: Support --list with serializing servers
  info: Fix --json output when list size != 1
  info: Permit --size --json
 generator/API.ml       |  6 +++---
 info/info-list-json.sh |  9 +++++++++