greatly improved output of help (divided into sections)

This commit is contained in:
Edwin Eefting
2022-01-17 22:26:42 +01:00
parent d114f63f29
commit 8baee52ab1
3 changed files with 128 additions and 101 deletions

View File

@ -55,6 +55,7 @@ class ZfsNode(ExecuteNode):
ExecuteNode.__init__(self, ssh_config=ssh_config, ssh_to=ssh_to, readonly=readonly, debug_output=debug_output)
def thin(self, objects, keep_objects):
# NOTE: if thinning is disabled with --no-thinning, self.__thinner will be none.
if self.__thinner is not None:
return self.__thinner.thin(objects, keep_objects)
else: