]> git.alsa-project.org Git - tinycompress.git/commitdiff
tinycompress: rename crec usages
authorVinod Koul <vinod.koul@intel.com>
Fri, 16 Dec 2016 07:36:51 +0000 (13:06 +0530)
committerVinod Koul <vinod.koul@intel.com>
Fri, 16 Dec 2016 07:36:51 +0000 (13:06 +0530)
The creord utility help listed crec as the utility name, change that to
crecord and also update the program explanation text.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
src/utils/crecord.c

index 8d5b7b0b2c3084c2ca9d94d0d40d12122852bf34..1ba54d70e89c730dc698935a8cd2a5a2c2a1aea7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * BSD LICENSE
  *
- * crec command line recorder for compress audio record in alsa
+ * crecord command line recorder for compress audio record in alsa
  * Copyright (c) 2011-2012, Intel Corporation
  * Copyright (c) 2013-2014, Wolfson Microelectronic Ltd.
  * All rights reserved.
@@ -35,7 +35,7 @@
  *
  * LGPL LICENSE
  *
- * crec command line recorder for compress audio record in alsa
+ * crecord command line recorder for compress audio record in alsa
  * Copyright (c) 2011-2012, Intel Corporation
  * Copyright (c) 2013-2014, Wolfson Microelectronic Ltd.
  *
@@ -153,7 +153,7 @@ static void size_wave_header(struct wave_header *header, uint32_t size)
 
 static void usage(void)
 {
-       fprintf(stderr, "usage: crec [OPTIONS] [filename]\n"
+       fprintf(stderr, "usage: crecord [OPTIONS] [filename]\n"
                "-c\tcard number\n"
                "-d\tdevice node\n"
                "-b\tbuffer size\n"
@@ -167,8 +167,8 @@ static void usage(void)
                "If filename is not given the output is\n"
                "written to stdout\n\n"
                "Example:\n"
-               "\tcrec -c 1 -d 2 test.wav\n"
-               "\tcrec -f 5 test.wav\n",
+               "\tcrecord -c 1 -d 2 test.wav\n"
+               "\tcrecord -f 5 test.wav\n",
                DEFAULT_CHANNELS, DEFAULT_RATE);
 
        exit(EXIT_FAILURE);