Skip to content

Commit

Permalink
fix(easy-install): rename --cronstring to --backup-schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed Dec 26, 2024
1 parent 0ee2eea commit 91e4f7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions easy-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -749,7 +749,7 @@ def get_args_parser():
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,
Expand All @@ -761,7 +761,7 @@ def get_args_parser():
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,
)
Expand All @@ -777,7 +777,7 @@ def get_args_parser():
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,
Expand All @@ -795,7 +795,7 @@ def get_args_parser():
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":
Expand Down

0 comments on commit 91e4f7e

Please sign in to comment.