From 0a07b6c5cb772d09a2a50ff6a7f1ae0bfef657a0 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 21 Feb 2018 11:34:00 +0100 Subject: Add file format to command line options --- src/Utils.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Utils.cpp') diff --git a/src/Utils.cpp b/src/Utils.cpp index 3efef7f..dd63862 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -75,12 +75,14 @@ void printUsage(const char* progName) fprintf(out, "Usage with command line options:\n"); fprintf(out, "\t%s" " input" - " (-f filename | -u uhddevice -F frequency) " + " (-f filename -F format | -u uhddevice -F frequency)" + "\n\t" " [-G txgain]" " [-o offset]" " [-T filter_taps_file]" " [-a gain]" " [-c clockrate]" + "\n\t" " [-g gainMode]" " [-h]" " [-l]" @@ -93,6 +95,7 @@ void printUsage(const char* progName) fprintf(out, " zmq+tcp://source:port for ZMQ input.\n"); fprintf(out, " udp://:port for EDI input.\n"); fprintf(out, "-f name: Use file output with given filename. (use /dev/stdout for standard output)\n"); + fprintf(out, "-F format: Set the output format (see doc/example.ini for formats) for the file output.\n"); fprintf(out, "-u device: Use UHD output with given device string. (use "" for default device)\n"); fprintf(out, "-F frequency: Set the transmit frequency when using UHD output. (mandatory option when using UHD)\n"); fprintf(out, "-G txgain: Set the transmit gain for the UHD driver (default: 0)\n"); -- cgit v1.2.3