Renamed config due to autocorrect.

This commit is contained in:
Daan Selen
2025-03-27 10:15:21 +01:00
parent 0a211da4d6
commit b2bf899d42
2 changed files with 2 additions and 2 deletions

View File

@@ -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)