
import click

from . import __version__, status


@click.group()
@click.version_option(__version__)
def cli() -> None:
    """Main command-line entry method."""


cli.add_command(status.cli)

if __name__ == '__main__':
    cli()


import click

from . import __version__, status


@click.group()
@click.version_option(__version__)
def cli() -> None:
    """Main command-line entry method."""


cli.add_command(status.cli)
cli(prog_name='srm')

Set correct program name in 'help' output
Set correct program name in 'help' output

  
  import click
  
  from . import __version__, status
  
  
  @click.group()
  @click.version_option(__version__)
  def cli() -> None:
      """Main command-line entry method."""
  
  
  cli.add_command(status.cli)
+ cli(prog_name='srm')
  
- if __name__ == '__main__':
-     cli()
- 
Set correct program name in 'help' output
## Code Before:

import click

from . import __version__, status


@click.group()
@click.version_option(__version__)
def cli() -> None:
    """Main command-line entry method."""


cli.add_command(status.cli)

if __name__ == '__main__':
    cli()

## Instruction:
Set correct program name in 'help' output
## Code After:

import click

from . import __version__, status


@click.group()
@click.version_option(__version__)
def cli() -> None:
    """Main command-line entry method."""


cli.add_command(status.cli)
cli(prog_name='srm')
