From 2cf82641273998f856791960e3d25f40e601f8de Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 29 Apr 2024 17:52:35 +0200 Subject: [PATCH] evobackupctl: change option name --- client/bin/evobackupctl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)