View | Details | Raw Unified | Return to bug 38727 | Differences between
and this patch

Collapse All | Expand All

(-)b/usr.sbin/mptable/mptable.c (-5 / +6 lines)
Lines 322-341 main( int argc, char *argv[] ) Link Here
322
	    if ( strcmp( optarg, "mesg") == 0 )
322
	    if ( strcmp( optarg, "mesg") == 0 )
323
	        dmesg = 1;
323
	        dmesg = 1;
324
	    else
324
	    else
325
	        dmesg = 0;
325
		usage();
326
	    break;
327
	case 'h':
328
	    if ( strcmp( optarg, "elp") == 0 )
329
	        usage();
330
	    break;
326
	    break;
331
	case 'g':
327
	case 'g':
332
	    if ( strcmp( optarg, "rope") == 0 )
328
	    if ( strcmp( optarg, "rope") == 0 )
333
	        grope = 1;
329
	        grope = 1;
330
	    else
331
		usage();
334
	    break;
332
	    break;
335
	case 'v':
333
	case 'v':
336
	    if ( strcmp( optarg, "erbose") == 0 )
334
	    if ( strcmp( optarg, "erbose") == 0 )
337
	        verbose = 1;
335
	        verbose = 1;
336
	    else
337
		usage();
338
	    break;
338
	    break;
339
	case 'h':
339
	default:
340
	default:
340
	    usage();
341
	    usage();
341
	}
342
	}

Return to bug 38727