Skip to content

Commit b2bf899

Browse files
committed
Renamed config due to autocorrect.
1 parent 0a211da commit b2bf899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

meshbook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def console(message: str, final: bool=False):
4242

4343
async def load_config(segment: str = 'meshcentral-account') -> dict:
4444
'''
45-
Function that loads the segment from the meshbook.conf (by default) file and returns the it in a dict.
45+
Function that loads the segment from the config.conf (by default) file and returns the it in a dict.
4646
'''
4747

4848
conf_file = args.conf
@@ -311,7 +311,7 @@ async def main():
311311
parser.add_argument("-mb", "--meshbook", type=str, help="Path to the meshbook yaml file.", required=True)
312312

313313
parser.add_argument("-oc", "--oscategories", type=str, help="Path to the Operating System categories JSON file.", required=False, default="./os_categories.json")
314-
parser.add_argument("--conf", type=str, help="Path for the API configuration file (default: ./meshbook.conf).", required=False, default="./meshbook.conf")
314+
parser.add_argument("--conf", type=str, help="Path for the API configuration file (default: ./config.conf).", required=False, default="./config.conf")
315315
parser.add_argument("--nograce", action="store_true", help="Disable the grace 3 seconds before running the meshbook.", required=False)
316316
parser.add_argument("-i", "--indent", action="store_true", help="Use an JSON indentation of 4 when this flag is passed.", required=False)
317317
parser.add_argument("-s", "--silent", action="store_true", help="Suppress terminal output", required=False)

0 commit comments

Comments
 (0)