schemata: update for --body=true|false option
authorMark Walters <markwalters1009@gmail.com>
Tue, 24 Jul 2012 18:23:30 +0000 (19:23 +0100)
committerDavid Bremner <bremner@debian.org>
Tue, 24 Jul 2012 18:49:33 +0000 (15:49 -0300)
Previously body: was a compulsory field in a message. The new
--body=false option causes notmuch show to omit this field so update
schemata to reflect this.

devel/schemata

index 6677a1c9a38705c728ca62d682539c6bf8225bdb..9cb25f593061094c58a91b39096cf1f79c5cbd80 100644 (file)
@@ -47,7 +47,7 @@ message = {
     tags:           [string*],
 
     headers:        headers,
-    body:           [part]
+    body?:          [part]    # omitted if --body=false
 }
 
 # A MIME part (format_part_json)