From patchwork Fri Dec 16 07:39:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 9477511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CF2E601C2 for ; Fri, 16 Dec 2016 07:54:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 114B1287B8 for ; Fri, 16 Dec 2016 07:54:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05AED2883C; Fri, 16 Dec 2016 07:54:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AF9B287B8 for ; Fri, 16 Dec 2016 07:54:43 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 76013265AF5; Fri, 16 Dec 2016 08:54:41 +0100 (CET) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 797D526749F; Fri, 16 Dec 2016 08:52:23 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3696B26686F; Fri, 16 Dec 2016 08:39:45 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id 5F81D265AF3 for ; Fri, 16 Dec 2016 08:39:39 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP; 15 Dec 2016 23:39:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,356,1477983600"; d="scan'208";a="43000094" Received: from vkoul-udesk7.iind.intel.com ([10.223.84.143]) by orsmga005.jf.intel.com with ESMTP; 15 Dec 2016 23:39:36 -0800 From: Vinod Koul To: alsa-devel@alsa-project.org Date: Fri, 16 Dec 2016 13:09:08 +0530 Message-Id: <1481873948-3720-1-git-send-email-vinod.koul@intel.com> X-Mailer: git-send-email 1.9.1 Cc: liam.r.girdwood@linux.intel.com, tiwai@suse.de, broonie@kernel.org, Vinod Koul , patches.audio@intel.com Subject: [alsa-devel] [PATCH] tinycompress: rename crec usages X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- src/utils/crecord.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/crecord.c b/src/utils/crecord.c index 8d5b7b0b2c30..1ba54d70e89c 100644 --- a/src/utils/crecord.c +++ b/src/utils/crecord.c @@ -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);