class_docstr: A custom formatter that will remove the usage line from the help message for subcommands.
class_docstr_tok: ["A","custom","formatter","that","will","remove","the","usage","line","from","the","help","message","for","subcommands","."]
code: def _format_usage(self, usage, actions, groups, prefix):
      usage = super()._format_usage(usage, actions, groups, prefix)
      usage = usage.replace("<command> [<args>] ", "")
      return usage
  
file_path: accelerate/src/accelerate/commands/config/config_utils.py
imports: import argparse
  from ...utils.dataclasses import ComputeEnvironment, DistributedType, DynamoBackend, PrecisionType, SageMakerDistributedType
  from ..menu import BulletMenu
label_desc: Use image node_id 1 for calling the SubcommandHelpFormatter obj's underlying member method code with example usage: obj._format_usage(usage, actions, groups, prefix) and returns: usage