evobackupctl: change option name
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
All checks were successful
gitea/evobackup/pipeline/head This commit looks good
This commit is contained in:
parent
d9674acff0
commit
2cf8264127
|
@ -31,12 +31,12 @@ ${PROGNAME} helps managing evobackup scripts
|
|||
Options
|
||||
-h, --help print this message and exit
|
||||
-V, --version print version and exit
|
||||
--init-jail-commands print jail init commands
|
||||
--jail-init-commands print jail init commands
|
||||
--copy-template=PATH copy the backup template to PATH
|
||||
END
|
||||
}
|
||||
|
||||
init_jail_commands() {
|
||||
jail_init_commands() {
|
||||
if [ ! -f /root/.ssh/id_ed25519.pub ]; then
|
||||
ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519 -N ''
|
||||
echo ""
|
||||
|
@ -107,8 +107,8 @@ main() {
|
|||
show_help
|
||||
exit 0
|
||||
;;
|
||||
--init-jail-commands)
|
||||
init_jail_commands
|
||||
--jail-init-commands)
|
||||
jail_init_commands
|
||||
exit 0
|
||||
;;
|
||||
--copy-template)
|
||||
|
|
Loading…
Reference in a new issue