MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / cmdline_option_value

Function cmdline_option_value

modules/dasSQLITE/sqlite/shell.c:26927–26934  ·  view source on GitHub ↗

** Get the argument to an --option. Throw an error and die if no argument ** is available. */

Source from the content-addressed store, hash-verified

26925** is available.
26926*/
26927static char *cmdline_option_value(int argc, char **argv, int i){
26928 if( i==argc ){
26929 utf8_printf(stderr, "%s: Error: missing argument to %s\n",
26930 argv[0], argv[argc-1]);
26931 exit(1);
26932 }
26933 return argv[i];
26934}
26935
26936#ifndef SQLITE_SHELL_IS_UTF8
26937# if (defined(_WIN32) || defined(WIN32)) \

Callers 1

wmainFunction · 0.85

Calls 1

utf8_printfFunction · 0.85

Tested by

no test coverage detected