MCPcopy Create free account
hub / github.com/audacity/audacity / optionMatch

Function optionMatch

lib-src/sqlite/shell.c:15756–15761  ·  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

15754** initial "-" characters.
15755*/
15756static int optionMatch(const char *zStr, const char *zOpt){
15757 if( zStr[0]!='-' ) return 0;
15758 zStr++;
15759 if( zStr[0]=='-' ) zStr++;
15760 return strcmp(zStr, zOpt)==0;
15761}
15762
15763/*
15764** Delete a file.

Callers 1

do_meta_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected