diff --git a/client/bin/evobackupctl b/client/bin/evobackupctl index 3cd55ea..286eb94 100644 --- a/client/bin/evobackupctl +++ b/client/bin/evobackupctl @@ -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)