mirror of
https://github.com/frappe/bench.git
synced 2025-01-04 22:55:25 +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
|
-h, --help show this help message and exit
|
||||||
-n PROJECT, --project PROJECT
|
-n PROJECT, --project PROJECT
|
||||||
Project Name
|
Project Name
|
||||||
-g, --cronstring CRONSTRING
|
-g, --backup-schedule BACKUP_SCHEDULE
|
||||||
Backup Cronstring, default: "@every 6h"
|
Backup schedule cronstring, default: "@every 6h"
|
||||||
-i IMAGE, --image IMAGE
|
-i IMAGE, --image IMAGE
|
||||||
Full Image Name
|
Full Image Name
|
||||||
-q, --no-ssl No https
|
-q, --no-ssl No https
|
||||||
@ -140,8 +140,8 @@ options:
|
|||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-n PROJECT, --project PROJECT
|
-n PROJECT, --project PROJECT
|
||||||
Project Name
|
Project Name
|
||||||
-g, --cronstring CRONSTRING
|
-g, --backup-schedule BACKUP_SCHEDULE
|
||||||
Backup Cronstring, default: "@every 6h"
|
Backup schedule cronstring, default: "@every 6h"
|
||||||
-i IMAGE, --image IMAGE
|
-i IMAGE, --image IMAGE
|
||||||
Full Image Name
|
Full Image Name
|
||||||
-q, --no-ssl No https
|
-q, --no-ssl No https
|
||||||
@ -167,8 +167,8 @@ options:
|
|||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-n PROJECT, --project PROJECT
|
-n PROJECT, --project PROJECT
|
||||||
Project Name
|
Project Name
|
||||||
-g, --cronstring CRONSTRING
|
-g, --backup-schedule BACKUP_SCHEDULE
|
||||||
Backup Cronstring, default: "@every 6h"
|
Backup schedule cronstring, default: "@every 6h"
|
||||||
-i IMAGE, --image IMAGE
|
-i IMAGE, --image IMAGE
|
||||||
Full Image Name
|
Full Image Name
|
||||||
-q, --no-ssl No https
|
-q, --no-ssl No https
|
||||||
|
@ -529,8 +529,8 @@ def add_common_parser(parser: argparse.ArgumentParser):
|
|||||||
parser = add_project_option(parser)
|
parser = add_project_option(parser)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-g",
|
"-g",
|
||||||
"--cronstring",
|
"--backup-schedule",
|
||||||
help='Backup Cronstring, default: "@every 6h"',
|
help='Backup schedule cronstring, default: "@every 6h"',
|
||||||
default="@every 6h",
|
default="@every 6h",
|
||||||
)
|
)
|
||||||
parser.add_argument("-i", "--image", help="Full Image Name")
|
parser.add_argument("-i", "--image", help="Full Image Name")
|
||||||
@ -749,7 +749,7 @@ if __name__ == "__main__":
|
|||||||
project=args.project,
|
project=args.project,
|
||||||
sites=args.sites,
|
sites=args.sites,
|
||||||
email=args.email,
|
email=args.email,
|
||||||
cronstring=args.cronstring,
|
cronstring=args.backup_schedule,
|
||||||
version=args.version,
|
version=args.version,
|
||||||
image=args.image,
|
image=args.image,
|
||||||
apps=args.apps,
|
apps=args.apps,
|
||||||
@ -761,7 +761,7 @@ if __name__ == "__main__":
|
|||||||
project=args.project,
|
project=args.project,
|
||||||
version=args.version,
|
version=args.version,
|
||||||
image=args.image,
|
image=args.image,
|
||||||
cronstring=args.cronstring,
|
cronstring=args.backup_schedule,
|
||||||
is_https=not args.no_ssl,
|
is_https=not args.no_ssl,
|
||||||
http_port=args.http_port,
|
http_port=args.http_port,
|
||||||
)
|
)
|
||||||
@ -777,7 +777,7 @@ if __name__ == "__main__":
|
|||||||
sites=args.sites,
|
sites=args.sites,
|
||||||
email=args.email,
|
email=args.email,
|
||||||
version=args.version,
|
version=args.version,
|
||||||
cronstring=args.cronstring,
|
cronstring=args.backup_schedule,
|
||||||
image=args.image,
|
image=args.image,
|
||||||
apps=args.apps,
|
apps=args.apps,
|
||||||
is_https=not args.no_ssl,
|
is_https=not args.no_ssl,
|
||||||
@ -795,7 +795,7 @@ if __name__ == "__main__":
|
|||||||
version=args.version,
|
version=args.version,
|
||||||
image=args.image,
|
image=args.image,
|
||||||
is_https=not args.no_ssl,
|
is_https=not args.no_ssl,
|
||||||
cronstring=args.cronstring,
|
cronstring=args.backup_schedule,
|
||||||
http_port=args.http_port,
|
http_port=args.http_port,
|
||||||
)
|
)
|
||||||
elif args.subcommand == "exec":
|
elif args.subcommand == "exec":
|
||||||
|
Loading…
Reference in New Issue
Block a user