mirror of
https://github.com/wader/fq.git
synced 2024-12-24 13:52:02 +03:00
a7a101ca67
Also add authors to avro and macho decoders Generated with: for i in $(go run . -r -n '_registry | [([([.files[][].name | split(".")[0]] | unique[]), (.formats[].name)] | count[] | select(.[1] == 2)[0]), (.formats[] | select(.decode_in_arg).name)] | unique[]'); do DIR=$(dirname $(find format -name $i.go)); echo "$ fq -h $i" > "$DIR/testdata/help_$i.fqtest" ; done
21 lines
412 B
Plaintext
21 lines
412 B
Plaintext
$ fq -h flac_frame
|
|
flac_frame: FLAC frame decoder
|
|
|
|
Options
|
|
=======
|
|
|
|
bits_per_sample=16 Bits per sample
|
|
|
|
Decode examples
|
|
===============
|
|
|
|
# Decode file as flac_frame
|
|
$ fq -d flac_frame . file
|
|
# Decode value as flac_frame
|
|
... | flac_frame
|
|
# Decode file using flac_frame options
|
|
$ fq -d flac_frame -o bits_per_sample=16 . file
|
|
# Decode value as flac_frame
|
|
... | flac_frame({bits_per_sample:16})
|
|
|