[Misc] cli auto show default value (#15582)

Signed-off-by: reidliu41 <reid201711@gmail.com>
This commit is contained in:
Reid
2025-03-28 22:23:00 +00:00
committed by GitHub
parent c3f687ac22
commit 26df46ee59
4 changed files with 11 additions and 22 deletions
+1 -1
View File
@@ -1212,7 +1212,7 @@ class StoreBoolean(argparse.Action):
"Expected 'true' or 'false'.")
class SortedHelpFormatter(argparse.HelpFormatter):
class SortedHelpFormatter(argparse.ArgumentDefaultsHelpFormatter):
"""SortedHelpFormatter that sorts arguments by their option strings."""
def add_arguments(self, actions):