From 91e4f7e3bfc8770355001bd7701635191a456693 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Thu, 26 Dec 2024 11:45:07 +0530 Subject: [PATCH] fix(easy-install): rename --cronstring to --backup-schedule --- README.md | 12 ++++++------ easy-install.py | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c9444c65..90645f8b 100755 --- a/README.md +++ b/README.md @@ -97,8 +97,8 @@ options: -h, --help show this help message and exit -n PROJECT, --project PROJECT Project Name - -g, --cronstring CRONSTRING - Backup Cronstring, default: "@every 6h" + -g, --backup-schedule BACKUP_SCHEDULE + Backup schedule cronstring, default: "@every 6h" -i IMAGE, --image IMAGE Full Image Name -q, --no-ssl No https @@ -140,8 +140,8 @@ options: -h, --help show this help message and exit -n PROJECT, --project PROJECT Project Name - -g, --cronstring CRONSTRING - Backup Cronstring, default: "@every 6h" + -g, --backup-schedule BACKUP_SCHEDULE + Backup schedule cronstring, default: "@every 6h" -i IMAGE, --image IMAGE Full Image Name -q, --no-ssl No https @@ -167,8 +167,8 @@ options: -h, --help show this help message and exit -n PROJECT, --project PROJECT Project Name - -g, --cronstring CRONSTRING - Backup Cronstring, default: "@every 6h" + -g, --backup-schedule BACKUP_SCHEDULE + Backup schedule cronstring, default: "@every 6h" -i IMAGE, --image IMAGE Full Image Name -q, --no-ssl No https diff --git a/easy-install.py b/easy-install.py index 7f9e50bf..3cb6183e 100755 --- a/easy-install.py +++ b/easy-install.py @@ -529,8 +529,8 @@ def add_common_parser(parser: argparse.ArgumentParser): parser = add_project_option(parser) parser.add_argument( "-g", - "--cronstring", - help='Backup Cronstring, default: "@every 6h"', + "--backup-schedule", + help='Backup schedule cronstring, default: "@every 6h"', default="@every 6h", ) parser.add_argument("-i", "--image", help="Full Image Name") @@ -749,7 +749,7 @@ if __name__ == "__main__": project=args.project, sites=args.sites, email=args.email, - cronstring=args.cronstring, + cronstring=args.backup_schedule, version=args.version, image=args.image, apps=args.apps, @@ -761,7 +761,7 @@ if __name__ == "__main__": project=args.project, version=args.version, image=args.image, - cronstring=args.cronstring, + cronstring=args.backup_schedule, is_https=not args.no_ssl, http_port=args.http_port, ) @@ -777,7 +777,7 @@ if __name__ == "__main__": sites=args.sites, email=args.email, version=args.version, - cronstring=args.cronstring, + cronstring=args.backup_schedule, image=args.image, apps=args.apps, is_https=not args.no_ssl, @@ -795,7 +795,7 @@ if __name__ == "__main__": version=args.version, image=args.image, is_https=not args.no_ssl, - cronstring=args.cronstring, + cronstring=args.backup_schedule, http_port=args.http_port, ) elif args.subcommand == "exec":