mirror of
https://github.com/frappe/bench.git
synced 2025-01-02 22:00:17 +00:00
fix(easy-install): rename --cronstring to --backup-schedule
This commit is contained in:
parent
0ee2eea820
commit
91e4f7e3bf
12
README.md
12
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
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user