diff --git a/src/main.c b/src/main.c index d6bbbbf..c167e72 100644 --- a/src/main.c +++ b/src/main.c @@ -47,15 +47,20 @@ static GList * listFilesInFolder(const char * path) { static int usage() { printf("Use --list-games or -l to list compatible games\n"); + + printf("Use --bind or -d to deploy the mods for the game\n"); + printf("Use --unbind to rollback a deployment\n"); + printf("Use --add or -a to add a mod to a game\n"); + printf("Use --remove or -r to remove a mod\n"); + printf("Use --fomod to create a new mod using the result from the FOMod\n"); + printf("Use --list-mods or -m to list all mods for a game\n"); printf("Use --install or -i to add a mod to a game\n"); printf("Use --uninstall or -u to uninstall a mod from a game\n"); - printf("Use --remove or -r to remove a mod\n"); - printf("Use --deploy or -d to deploy the mods for the game\n"); - printf("Use --unbind to rollback a deployment\n"); - printf("Use --fomod to create a new mod using the result from the FOMod\n"); + printf("Use --swap MODID B> to swap two mod in the loading order\n"); + printf("Use --version or -v to get the version number\n"); return EXIT_FAILURE; } @@ -576,7 +581,7 @@ int main(int argc, char ** argv) { else if(strcmp(argv[1], "--uninstall") == 0 || strcmp(argv[1], "-u") == 0) returnValue = installAndUninstallMod(argc, argv, false); - else if(strcmp(argv[1], "--deploy") == 0 || strcmp(argv[1], "-d") == 0) + else if(strcmp(argv[1], "--bind") == 0 || strcmp(argv[1], "-d") == 0) returnValue = deploy(argc, argv); else if(strcmp(argv[1], "--unbind") == 0)