Commit a5f532f8 authored by rswindell's avatar rswindell
Browse files

No longer beeps on error by default (use "-b" option to enable beep on errors).

parent fa7fb0b0
......@@ -107,9 +107,9 @@ char* DLLCALL strip_ctrl(char *str)
char *usage="\nusage: chksmb [-opts] <filespec.SHD>\n"
"\n"
" opts:\n"
" b - beep on error\n"
" s - stop after errored message base\n"
" p - pause after errored messsage base\n"
" q - quiet mode (no beeps while checking)\n"
" h - don't check hash file\n"
" a - don't check allocation files\n"
" t - don't check translation strings\n"
......@@ -117,7 +117,7 @@ char *usage="\nusage: chksmb [-opts] <filespec.SHD>\n"
int main(int argc, char **argv)
{
char str[128],*p,*s,*beep="\7";
char str[128],*p,*s,*beep="";
char* body;
char* tail;
int h,i,j,x,y,lzh,errors,errlast;
......@@ -171,6 +171,9 @@ int main(int argc, char **argv)
case 'Q':
beep="";
break;
case 'B':
beep="\a";
break;
case 'P':
pause_on_error=TRUE;
break;
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment