autopushed

This commit is contained in:
2023-09-24 18:59:25 +02:00
parent d5d1f9eaeb
commit 60f2509ca3
+1 -1
View File
@@ -44,7 +44,7 @@ class AgoraCmd(click.Command):
def format_help(self, ctx, formatter): def format_help(self, ctx, formatter):
click.echo("Usage: Visit anagora.org/foo to execute e.g. bin/foo.py, exec/foo.py from your garden.") click.echo("Usage: Visit anagora.org/foo to execute e.g. bin/foo.py, exec/foo.py from your garden.")
@click.command(cls=AgoraCommand) @click.command(cls=AgoraCmd)
@click.argument('n', type=click.INT) @click.argument('n', type=click.INT)
def prime(n): def prime(n):
"""Simple program that factors a number using a [[Sieve of Eratosthenes]].""" """Simple program that factors a number using a [[Sieve of Eratosthenes]]."""