From add53ec7f6334771d2859b302fe1f8f7f49bc64f Mon Sep 17 00:00:00 2001 From: Sora Date: Sun, 12 Nov 2023 16:54:21 +0100 Subject: [PATCH] hmmmm --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 629d48b..a5b747e 100644 --- a/main.py +++ b/main.py @@ -28,7 +28,7 @@ def arguments_parser(): help='configuration file for BackandUp. By default it looks for a configuration.ini ' 'in its folder. It must contains the configuration for the backup service ' 'and can also contains the BackandUp own configuration.') - parser.add_argument('--compose', action='store', default='./docker-compose.yml', + parser.add_argument('--composefile', action='store', default='./docker-compose.yml', help='compose file to parse. By default it looks for a docker-compose.yml in its folder.') parser.add_argument('--sshfolder', action='store', default='~/.ssh', help='ssh folder for sftp connection. By default it uses ~/.ssh.') @@ -48,7 +48,7 @@ def read_config_file(filepath: str = "configuration.ini"): if "backandup" in parser: if "composefile" in parser["backandup"]: - arguments.compose = parser["backandup"]["composefile"] + arguments.composefile = parser["backandup"]["composefile"] if "composefile" in parser["backandup"]: arguments.sshfolder = parser["backandup"]["sshfolder"] if "composefile" in parser["backandup"]: