diff --git a/README.md b/README.md index 9346fb7..b816d55 100644 --- a/README.md +++ b/README.md @@ -56,14 +56,14 @@ fixes dependencies where bundled libraries depend on each other. If this option `-i`, `--ignore` (path) > Dylibs in (path) will be ignored. By default, dylibbundler will ignore libraries installed in `/usr/lib` since they are assumed to be present by default on all OS X installations.*(It is usually recommend not to install additional stuff in `/usr/`, always use ` /usr/local/` or another prefix to avoid confusion between system libs and libs you added yourself)* - `-d`, `--dest-dir` (directory) > Sets the name of the directory in wich distribution-ready dylibs will be placed, relative to the current working directory. (Default is `./libs`) For an app bundle, it is often conveniant to set it to something like `./MyApp.app/Contents/libs`. - `-p`, `--install-path` (libraries install path) > Sets the "inner" installation path of libraries, usually inside the bundle and relative to executable. (Default is `@executable_path/../libs/`, which points to a directory named `libs` inside the `Contents` directory of the bundle.) +`-s`, `--search-path` (search path) +> Check for libraries in the specified path *The difference between `-d` and `-p` is that `-d` is the location dylibbundler will put files at, while `-p` is the location where the libraries will be expected to be found when you launch the app. Both are often related.* diff --git a/src/main.cpp b/src/main.cpp index 90eb390..0c2e9ca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,6 +58,7 @@ void showHelp() std::cout << "-b, --bundle-deps" << std::endl; std::cout << "-d, --dest-dir " << std::endl; std::cout << "-p, --install-path <'inner' path of bundled libraries (usually relative to executable, by default '@executable_path/../libs/')>" << std::endl; + std::cout << "-s, --search-path " << std::endl; std::cout << "-of, --overwrite-files (allow overwriting files in output directory)" << std::endl; std::cout << "-od, --overwrite-dir (totally overwrite output directory if it already exists. implies --create-dir)" << std::endl; std::cout << "-cd, --create-dir (creates output directory if necessary)" << std::endl;