add synopsis to write-chunks

This commit is contained in:
joshuaboud 2021-06-03 14:43:03 -03:00
parent 73e4a09751
commit 4bbd81105b
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -17,6 +17,15 @@
along with Cockpit Navigator. If not, see <https://www.gnu.org/licenses/>.
"""
"""
Synopsis: `write-chunks.py <newline delimited JSON objects>`
JSON objects are of form:
obj = {
seek: <byte offset>
chunk: <base64 encoded data chunk>
}
"""
import base64
import os
import sys