diff --git a/bench/commands/utils.py b/bench/commands/utils.py index 5d9ac6d5..94d87b06 100644 --- a/bench/commands/utils.py +++ b/bench/commands/utils.py @@ -98,12 +98,6 @@ def set_redis_socketio_host(host): set_redis_socketio_host(host) -@click.command('set-default-site', help="Set default site for bench") -@click.argument('site') -def set_default_site(site): - from bench.utils import set_default_site - set_default_site(site) - @click.command('download-translations', help="Download latest translations") def download_translations(): diff --git a/docs/bench_usage.md b/docs/bench_usage.md index 807d021f..7bf52a1a 100644 --- a/docs/bench_usage.md +++ b/docs/bench_usage.md @@ -101,7 +101,7 @@ These commands belong directly to the bench group so they can be invoked directl - **set-redis-cache-host**: Set Redis cache host for bench - **set-redis-queue-host**: Set Redis queue host for bench - **set-redis-socketio-host**: Set Redis socketio host for bench - - **set-default-site**: Set default site for bench + - **use**: Set default site for bench - **download-translations**: Download latest translations