Changeset 821 for trunk/apps/las2txt.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/las2txt.c

    r813 r821  
    271271            file_name_out = argv[i]; 
    272272        } 
     273        else  
     274        { 
     275            fprintf(stderr, "ERROR: unknown argument '%s'\n",argv[i]); 
     276            usage(); 
     277            exit(1); 
     278        } 
    273279    } /* end looping through argc/argv */ 
    274280