autopushed

This commit is contained in:
2023-09-24 20:33:21 +02:00
parent bedd37c590
commit 2be5adf057
+2 -2
View File
@@ -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)