From 0888a083ec6a23a75d3e681f08ef242acd862573 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 13 Apr 2021 20:22:01 -0400 Subject: [PATCH] help: switch from formatter module to textwrap Since Python has deprecated the formatter module, switch to the textwrap module instead for reflowing text. We weren't really using any other feature anyways. Verified by diffing the output before & after the change and making sure it was the same. Then made a few tweaks to tighten up the output. Change-Id: I0be1bc2a6661a311b1a4693c80d0f8366320ba55 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303282 Reviewed-by: Raman Tenneti Tested-by: Mike Frysinger --- docs/manifest-format.md | 1 + subcmds/help.py | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/manifest-format.md b/docs/manifest-format.md index aa1580d9..da83d0dd 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md @@ -21,6 +21,7 @@ following DTD: ```xml