"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
doc: make man page well formed for whatis - fixes #7430
Nick Craig-Wood530658e0ccab
diff --git a/bin/make_manual.py b/bin/make_manual.pyindex d2e756457..2d0fd580e 100755--- a/bin/make_manual.py+++ b/bin/make_manual.py@@ -7,6 +7,7 @@ conversion into man pages etc.import osimport reimport time+import subprocessfrom datetime import datetimedocpath = "docs/content"@@ -192,13 +193,23 @@ def main():command_docs = read_commands(docpath).replace("\\", "\\\\") # escape \ so we can use command_docs in re.subbuild_date = datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time())))+ help_output = subprocess.check_output(["rclone", "help"]).decode("utf-8")with open(outfile, "w") as out:out.write("""\%% rclone(1) User Manual%% Nick Craig-Wood%% %s-""" % build_date.strftime("%b %d, %Y"))+# NAME++rclone - manage files on cloud storage++# SYNOPSIS++```+%s+```+""" % (build_date.strftime("%b %d, %Y"), help_output))for doc in docs:contents = read_doc(doc)# Substitute the commands into doc.md