Commit cd55168c authored by Giuseppe Stanghellini's avatar Giuseppe Stanghellini

Removed switch -all, now it is implied if not -trace or -record switch

are used.
parent 4cc81506
No preview for this file type
......@@ -743,10 +743,6 @@ void print_usage(int argc, char **argv) {
" Switches:\n"
" -flip_endianess : Flip endianess, useful to make\n"
" the file conformant to SEGY standard.\n"
" -all : Process the whole file. If you do not use this one\n"
" you should use the '-record' and/or '-trace' switches\n"
" to set the part of the segy file that will be\n"
" processed.\n"
" -change_header_fields : Change SEGY header fields given an offset,\n"
" Use the following syntax:\n"
" offset0:type0:value0,...\n"
......@@ -785,7 +781,7 @@ void print_usage(int argc, char **argv) {
" ...\n"
" NOTE: to have the lines with the first three numbers\n"
" of a given file, execute:\n"
" segy-change -print_rec_seq_num -all -f segyfile\n"
" segy-change -print_rec_seq_num -f segyfile\n"
" you can then just add coordinates and the unit of\n"
" measure in the proper format for each line.\n"
" -do_op +|-|*|/:VAL : Do the given operation, for example to multiply all\n"
......@@ -877,21 +873,21 @@ void print_usage(int argc, char **argv) {
"\n\n"
" Examples:\n\n"
" - To convert a whole file to a 4-byte ibm floating point format:\n\n"
" segy-change -all -f in.segy -o out.segy -convert F\n"
" segy-change -f in.segy -o out.segy -convert F\n"
"\n"
" - To change the value of 'Number of samples per data trace for this reel'\n"
" into the segy header:\n\n"
" segy-change -all -f in.segy -o out.segy -change_header_fields 3220:S:3000\n"
" segy-change -f in.segy -o out.segy -change_header_fields 3220:S:3000\n"
"\n"
" - To dump some trace fields from all the trace headers:\n\n"
" segy-change -all -f in.sgy -dump_trace_fields 0:I,8:I\n"
" segy-change -f in.sgy -dump_trace_fields 0:I,8:I\n"
"\n"
" - To change the 'Traces per record field' into the segy header:\n\n"
" segy-change -all -f in.sgy -o out.sgy -change_header_fields 3212:S:3336\n"
" -traces_per_record 3336\n\n"
" segy-change -f in.sgy -o out.sgy -change_header_fields 3212:S:4000\n"
" -traces_per_record 4000\n\n"
" - To extract traces containing exactly 10000 samples:\n"
"\n"
" segy-change -f in.segy -all -o out.segy -use_names\n"
" segy-change -f in.segy -o out.segy -use_names\n"
" -only_traces_with NUMBER_OF_SAMPLES_IN_THIS_TRACE:10000\n"
" - To make a postscript plot of the first two shot-gather, with 25 traces\n"
" per cm:\n"
......
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