** Compare the string as a command-line option with either one or two ** initial "-" characters. */
| 26637 | ** initial "-" characters. |
| 26638 | */ |
| 26639 | static 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. |
no test coverage detected