From e9c046d56b15e39630490bc64ebaaa6727623186 Mon Sep 17 00:00:00 2001 From: Samuel Danieli <23150094+scdanieli@users.noreply.github.com> Date: Tue, 1 Dec 2020 16:04:57 +0100 Subject: [PATCH 1/2] fix: wrong flag description --- bench/commands/make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/commands/make.py b/bench/commands/make.py index 7fc799e6..2f9f8ac0 100755 --- a/bench/commands/make.py +++ b/bench/commands/make.py @@ -11,8 +11,8 @@ import click @click.option('--frappe-branch', default=None, help="path to frappe repo") @click.option('--clone-from', default=None, help="copy repos from path") @click.option('--clone-without-update', is_flag=True, help="copy repos from path without update") -@click.option('--no-procfile', is_flag=True, help="Pull changes in all the apps in bench") -@click.option('--no-backups',is_flag=True, help="Run migrations for all sites in the bench") +@click.option('--no-procfile', is_flag=True, help="Do not create a Procfile") +@click.option('--no-backups',is_flag=True, help="Do not set up automatic backup creation for every (new) site") @click.option('--skip-redis-config-generation', is_flag=True, help="Skip redis config generation if already specifying the common-site-config file") @click.option('--skip-assets',is_flag=True, default=False, help="Do not build assets") @click.option('--verbose',is_flag=True, help="Verbose output during install") From 9de383a760a604a73509d72c230f59e5a0fac11e Mon Sep 17 00:00:00 2001 From: Samuel Danieli <23150094+scdanieli@users.noreply.github.com> Date: Wed, 2 Dec 2020 12:01:25 +0100 Subject: [PATCH 2/2] feat: better flag description Co-authored-by: gavin --- bench/commands/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/commands/make.py b/bench/commands/make.py index 2f9f8ac0..554b0603 100755 --- a/bench/commands/make.py +++ b/bench/commands/make.py @@ -12,7 +12,7 @@ import click @click.option('--clone-from', default=None, help="copy repos from path") @click.option('--clone-without-update', is_flag=True, help="copy repos from path without update") @click.option('--no-procfile', is_flag=True, help="Do not create a Procfile") -@click.option('--no-backups',is_flag=True, help="Do not set up automatic backup creation for every (new) site") +@click.option('--no-backups',is_flag=True, help="Do not set up automatic periodic backups for all sites on this bench") @click.option('--skip-redis-config-generation', is_flag=True, help="Skip redis config generation if already specifying the common-site-config file") @click.option('--skip-assets',is_flag=True, default=False, help="Do not build assets") @click.option('--verbose',is_flag=True, help="Verbose output during install")