1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

netcmd: move comment above class to docstring

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Rob van der Linde 2023-10-05 13:42:14 +13:00 committed by Andrew Bartlett
parent 8b57561297
commit c3876242fd

View File

@ -63,10 +63,9 @@ class Option(SambaOption):
return value
# This help formatter does text wrapping and preserves newlines
class PlainHelpFormatter(optparse.IndentedHelpFormatter):
"""This help formatter does text wrapping and preserves newlines."""
def format_description(self, description=""):
desc_width = self.width - self.current_indent
indent = " " * self.current_indent