New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSGI loader for GModule-based applications #130

Merged
merged 4 commits into from Jan 7, 2017
Jump to file or symbol
Failed to load files and symbols.
+3 −5
Diff settings

Always

Just for now

Viewing a subset of changes. View all
Prev

loader: Update help and show more helpful messages

  • Loading branch information...
arteymix committed Jan 7, 2017
commit d0cac0166476febf0c5f8de8525adf00cd553cdc
View
@@ -56,22 +56,20 @@ namespace VSGI {
"supported for the '--server' option. They correspond to 'http', 'fastcgi' and\n" +
"'scgi' values respectively.\n" +
"\n" +
"MODULE is the shared library name without the 'lib' prefix and extension and\n" +
"SYMBOL identifies a symbol in the library respecting the 'ApplicationCallback'\n" +
"signature.\n" +
"MODULE is the shared library name without the 'lib' prefix and extension suffix.\n" +
"\n" +
"SERVER_OPTION is forwarded to the server and must be separated from other\n" +
"arguments by a '--' delimiter.");
parser.add_main_entries (options, null);
parser.parse (ref args);
} catch (OptionError err) {
stderr.puts (err.message);
stderr.printf ("%s, specify '--help' for all available options.\n", err.message);
return 1;
}
// count the remaining arguments once parsed
if (args.length < 2) {
stderr.printf ("Module is missing.\n");
stderr.printf ("Module is missing, specify '--help' for detailed usage.\n");
return 1;
}
ProTip! Use n and p to navigate between commits in a pull request.