MCPcopy Create free account
hub / github.com/Kitware/VTK / optionMatch

Function optionMatch

ThirdParty/sqlite/vtksqlite/shell.c:26639–26644  ·  view source on GitHub ↗

** Compare the string as a command-line option with either one or two ** initial "-" characters. */

Source from the content-addressed store, hash-verified

26637** initial "-" characters.
26638*/
26639static int optionMatch(const char *zStr, const char *zOpt){
26640 if( zStr[0]!='-' ) return 0;
26641 zStr++;
26642 if( zStr[0]=='-' ) zStr++;
26643 return cli_strcmp(zStr, zOpt)==0;
26644}
26645
26646/*
26647** Delete a file.

Callers 1

do_meta_commandFunction · 0.85

Calls 1

cli_strcmpFunction · 0.85

Tested by

no test coverage detected