Changeset 821 for trunk/apps/txt2las.c

Show
Ignore:
Timestamp:
08/08/08 16:30:28 (5 months ago)
Author:
hobu
Message:

Apply patch from Roberto Antolin to make sure to report invalid arguments #65

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/apps/txt2las.c

    r813 r821  
    469469            file_name_out = argv[i]; 
    470470        } 
     471        else  
     472        { 
     473            fprintf(stderr, "ERROR: unknown argument '%s'\n",argv[i]); 
     474            usage(); 
     475            exit(1); 
     476        } 
    471477    } 
    472478