-
Notifications
You must be signed in to change notification settings - Fork 230
subpath parameter in command line not working #1552
Comments
Looked into code, and it seems almost everywhere it's just config/config.json, might change this later though for this |
i tried to look at the source code, and it's supposed to concat current directory with the subpath parameter and look for config folder in that folder |
i think it's a conflict between
and
the -subpath parameter is interpreted as -s/--start option |
you have to change your directory to the location of the necrobot2.exe before executing your start command or it will look for config folder whereever your executing the command from |
already doing that, the error seems pretty explicit: C:\NecroBot2.Console>Necrobot2.exe -subpath config1 ERROR(S): -i, --init Init account |
Expected Behavior:
Launching with subpath parameter should make the programe to look for config files in subpath/
Actual Behavior:
Program not starting
Your config.json:
Try to start with : Necrobot2.exe -subpath config1
(OPTIONAL) Your Log:
conflict error with -s option
NecroBot-Private for Pokémon GO $(APPVEYOR_REPO_TAG_NAME)
Copyright NecroBot-Private Team © 2017
ERROR(S):
-s/--start option violates format.
The text was updated successfully, but these errors were encountered: