** Compare the string as a command-line option with either one or two ** initial "-" characters. */
| 15754 | ** initial "-" characters. |
| 15755 | */ |
| 15756 | static 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. |