diff --git a/adapters/standalone.cpp b/adapters/standalone.cpp index 940d645f..0e24be00 100644 --- a/adapters/standalone.cpp +++ b/adapters/standalone.cpp @@ -82,6 +82,7 @@ int main(int argc, char* argv[]) { {"system", required_argument, NULL, 's'}, {"user", required_argument, NULL, 'u'}, {"version", no_argument, NULL, 'v'}, + {"help", no_argument, NULL, 256}, {NULL, 0, NULL, 0} }; int c; @@ -112,6 +113,11 @@ int main(int argc, char* argv[]) { std::fprintf(stderr, "%s\n", appInfo.c_str()); return 0; } + case 256: { // --help + std::fprintf(stderr, "%s\n", appInfo.c_str()); + std::fprintf(stderr, "https://vcvrack.com/manual/Installing#Command-line-usage\n"); + return 0; + } // Mac "app translocation" passes a nonsense -psn_... flag, so -p is reserved. case 'p': break; default: break;