mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
15 lines
355 B
Python
15 lines
355 B
Python
import argparse
|
|
|
|
|
|
class HelpFormatter(argparse.HelpFormatter):
|
|
def _get_default_metavar_for_optional(self, action: argparse.Action) -> str:
|
|
return action.dest
|
|
|
|
|
|
class RawTextHelpFormatter(HelpFormatter, argparse.RawTextHelpFormatter):
|
|
pass
|
|
|
|
|
|
class RawDescriptionHelpFormatter(HelpFormatter, argparse.RawDescriptionHelpFormatter):
|
|
pass
|