
Author: ods15 Date: Thu Jun 28 19:33:57 2007 New Revision: 505 Log: give proper somewhat helpful error message when nutindex is used without params Modified: src/trunk/nututils/nutindex.c Modified: src/trunk/nututils/nutindex.c ============================================================================== --- src/trunk/nututils/nutindex.c (original) +++ src/trunk/nututils/nutindex.c Thu Jun 28 19:33:57 2007 @@ -330,7 +330,7 @@ int main(int argc, char * argv[]) { output_buffer_t oout, * out, omem, * mem = new_mem_buffer(&omem); off_t end; if (!fin || !fout) { - fprintf(stderr, "bleh\n"); + fprintf(stderr, "%s <input-nut-file> <output-nut-file>\n", argv[0]); return 1; } printf("Note! This program produces less error resiliant files by moving the main headers!\n");