diff --git a/bin/primes.py b/bin/primes.py index f8f671dc6..a488dc2ad 100755 --- a/bin/primes.py +++ b/bin/primes.py @@ -49,14 +49,14 @@ class AgoraCmd(click.Command): def __call__(self, *args, **kwargs): try: - return super(ShowUsageOnMissingError, self).__call__( + return super(click.ShowUsageOnMissingError, self).__call__( *args, standalone_mode=False, **kwargs) except click.MissingParameter as exc: exc.ctx = None exc.show(file=sys.stdout) click.echo() try: - super(ShowUsageOnMissingError, self).__call__(['--help']) + super(click.ShowUsageOnMissingError, self).__call__(['--help']) except SystemExit: sys.exit(exc.exit_code)