diff --git a/meshbook.py b/meshbook.py index fd4f89f..4e16da7 100644 --- a/meshbook.py +++ b/meshbook.py @@ -42,7 +42,7 @@ def console(message: str, final: bool=False): async def load_config(segment: str = 'meshcentral-account') -> dict: ''' - Function that loads the segment from the meshbook.conf (by default) file and returns the it in a dict. + Function that loads the segment from the config.conf (by default) file and returns the it in a dict. ''' conf_file = args.conf @@ -311,7 +311,7 @@ async def main(): parser.add_argument("-mb", "--meshbook", type=str, help="Path to the meshbook yaml file.", required=True) parser.add_argument("-oc", "--oscategories", type=str, help="Path to the Operating System categories JSON file.", required=False, default="./os_categories.json") - parser.add_argument("--conf", type=str, help="Path for the API configuration file (default: ./meshbook.conf).", required=False, default="./meshbook.conf") + parser.add_argument("--conf", type=str, help="Path for the API configuration file (default: ./config.conf).", required=False, default="./config.conf") parser.add_argument("--nograce", action="store_true", help="Disable the grace 3 seconds before running the meshbook.", required=False) parser.add_argument("-i", "--indent", action="store_true", help="Use an JSON indentation of 4 when this flag is passed.", required=False) parser.add_argument("-s", "--silent", action="store_true", help="Suppress terminal output", required=False) diff --git a/templates/meshbook.conf.template b/templates/config.conf similarity index 100% rename from templates/meshbook.conf.template rename to templates/config.conf