Add search path arg to README and Help
This commit is contained in:
parent
9cf053f8b3
commit
82540a2511
|
@ -56,14 +56,14 @@ fixes dependencies where bundled libraries depend on each other. If this option
|
||||||
`-i`, `--ignore` (path)
|
`-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)*
|
> 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)
|
`-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`.
|
> 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)
|
`-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.)
|
> 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.*
|
*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.*
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,7 @@ void showHelp()
|
||||||
std::cout << "-b, --bundle-deps" << std::endl;
|
std::cout << "-b, --bundle-deps" << std::endl;
|
||||||
std::cout << "-d, --dest-dir <directory to send bundled libraries (relative to cwd)>" << std::endl;
|
std::cout << "-d, --dest-dir <directory to send bundled libraries (relative to cwd)>" << 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 << "-p, --install-path <'inner' path of bundled libraries (usually relative to executable, by default '@executable_path/../libs/')>" << std::endl;
|
||||||
|
std::cout << "-s, --search-path <directory to add to list of locations searched>" << std::endl;
|
||||||
std::cout << "-of, --overwrite-files (allow overwriting files in output directory)" << 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 << "-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;
|
std::cout << "-cd, --create-dir (creates output directory if necessary)" << std::endl;
|
||||||
|
|
Loading…
Reference in New Issue