Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753382AbdHOHmR (ORCPT ); Tue, 15 Aug 2017 03:42:17 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3099 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753232AbdHOHmQ (ORCPT ); Tue, 15 Aug 2017 03:42:16 -0400 From: Yunlong Song To: , , , , CC: , , , , Subject: [PATCH v2] f2fs-tools: fix the usage message of overprovision option Date: Tue, 15 Aug 2017 15:41:57 +0800 Message-ID: <1502782917-97779-1-git-send-email-yunlong.song@huawei.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1502457915-46935-1-git-send-email-yunlong.song@huawei.com> References: <1502457915-46935-1-git-send-email-yunlong.song@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.193.250] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090202.5992A5D6.000D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: b1dcfb6f66801f7145961db57f625344 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 22 The usage message shows a wrong message for ovp option, so fix it. Signed-off-by: Yunlong Song --- mkfs/f2fs_format_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c index a3652a9..3279829 100644 --- a/mkfs/f2fs_format_main.c +++ b/mkfs/f2fs_format_main.c @@ -41,7 +41,7 @@ static void mkfs_usage() MSG(0, " -f force overwrite the exist filesystem\n"); MSG(0, " -l label\n"); MSG(0, " -m support zoned block device [default:0]\n"); - MSG(0, " -o overprovision ratio [default:5]\n"); + MSG(0, " -o overprovision ratio [initial value 0 lets mkfs determine its best value]\n"); MSG(0, " -O [feature list] e.g. \"encrypt\"\n"); MSG(0, " -q quiet mode\n"); MSG(0, " -s # of segments per section [default:1]\n"); -- 1.8.5.2