From patchwork Thu Jul 20 07:50:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 93321 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1qMORQ-0027WP-1V; Thu, 20 Jul 2023 07:51:16 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231808AbjGTHvN (ORCPT + 1 other); Thu, 20 Jul 2023 03:51:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231336AbjGTHvF (ORCPT ); Thu, 20 Jul 2023 03:51:05 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73FAF269F for ; Thu, 20 Jul 2023 00:51:03 -0700 (PDT) Received: from desky.lan (91-154-35-171.elisa-laajakaista.fi [91.154.35.171]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C0D229B9; Thu, 20 Jul 2023 09:50:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1689839407; bh=tBWTpiGZ0wQCh08nERIYZ8Lu1JBHGGOEukEX/nDM1j0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JP0dA2sxesHz3dMgPHhtySAD1Q8fQ6+okLLlCBm9wfpqtLtT3WVKfbvd8jQSXUymq gOj4DzGASubBo7twMBV7kNk0RMb3b+kvOFR74HWTOPQZPBz9YDmUHGN55BVbb8A1Oh 9sLgcYZeUaa9b6s5YS3CSxdqt5u5314JsgEh0kJU= From: Tomi Valkeinen To: linux-media@vger.kernel.org, sakari.ailus@linux.intel.com, Jacopo Mondi , Laurent Pinchart , niklas.soderlund+renesas@ragnatech.se, Mauro Carvalho Chehab , Hans Verkuil , satish.nagireddy@getcruise.com Cc: Tomi Valkeinen Subject: [PATCH v6 1/8] v4l2-ctl: Improve sub-device options help text Date: Thu, 20 Jul 2023 10:50:37 +0300 Message-Id: <20230720075044.442021-2-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230720075044.442021-1-tomi.valkeinen@ideasonboard.com> References: <20230720075044.442021-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no Explicitly mention that all the parameters to the options are optional, and default to 0, and remove the one place where the default of 0 was mentioned. Signed-off-by: Tomi Valkeinen --- utils/v4l2-ctl/v4l2-ctl-subdev.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-subdev.cpp b/utils/v4l2-ctl/v4l2-ctl-subdev.cpp index 33cc1342..22fd9052 100644 --- a/utils/v4l2-ctl/v4l2-ctl-subdev.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-subdev.cpp @@ -36,8 +36,9 @@ static double set_fps; void subdev_usage() { printf("\nSub-Device options:\n" + "Note: all parameters below (pad, code, etc.) are optional unless otherwise noted and default to 0\n" " --list-subdev-mbus-codes \n" - " display supported mediabus codes for this pad (0 is default)\n" + " display supported mediabus codes for this pad\n" " [VIDIOC_SUBDEV_ENUM_MBUS_CODE]\n" " --list-subdev-framesizes pad=,code=\n" " list supported framesizes for this pad and code\n"