diff --git a/bin/primes.py b/bin/primes.py index 0e63b3440..cc7cd03db 100755 --- a/bin/primes.py +++ b/bin/primes.py @@ -48,7 +48,7 @@ class AgoraCmd(click.Command): """) @click.command(cls=AgoraCmd) -@click.argument('n', type=click.INT) +@click.option('n', type=click.INT) def prime(n): """Simple program that factors a number using a [[Sieve of Eratosthenes]].""" if is_prime(n):