** Compare the string as a command-line option with either one or two ** initial "-" characters. */
| 21510 | ** initial "-" characters. |
| 21511 | */ |
| 21512 | static int optionMatch(const char *zStr, const char *zOpt){ |
| 21513 | if( zStr[0]!='-' ) return 0; |
| 21514 | zStr++; |
| 21515 | if( zStr[0]=='-' ) zStr++; |
| 21516 | return cli_strcmp(zStr, zOpt)==0; |
| 21517 | } |
| 21518 | |
| 21519 | /* |
| 21520 | ** Delete a file. |
no test coverage detected