From patchwork Thu Oct 29 23:17:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Xu X-Patchwork-Id: 11867893 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFB6FC2D0A3 for ; Thu, 29 Oct 2020 23:18:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 478CD2076E for ; Thu, 29 Oct 2020 23:18:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="SJxS5EPT"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="OMoBDDuR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725765AbgJ2XSN (ORCPT ); Thu, 29 Oct 2020 19:18:13 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33899 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725800AbgJ2XSM (ORCPT ); Thu, 29 Oct 2020 19:18:12 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BD3395C0127; Thu, 29 Oct 2020 19:18:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 29 Oct 2020 19:18:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=vdqtJzroHoFHS 9urMLXID6uPIJ1tiT0lVYNo6pN6cZk=; b=SJxS5EPThT5TzKtMNpQarMtpIqHy1 6pcZSyeixl7yTwGeO0NbXAfZnyFga0AOYf744YyB6gbS1t0om0EtY7IZesj+vsnQ KDQ3Cy0HARJJZ+YllCKYQvB2n48B5X3ck5/Sem5RWMD9duSDxhk6DlLDiM0oBs+W Ic/5fTq8/Xu41l/qGJzKzLl1+nppJGItNKHjkMOCrhdlhMLPofPZ3IH6xnzg6Xwg 4wOCDfH7S7dwuFB2Ug6DAigOrwXuXdDca6CRWBtwdP6FspRySK8JLmVjlZwnUEdA eUni+QFRr3h7SASVgBxjlt55sQvqCkI92a/ZxRoUp5dYGhGDqV+YZFAIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=vdqtJzroHoFHS9urMLXID6uPIJ1tiT0lVYNo6pN6cZk=; b=OMoBDDuR TTIFf9OLkIg9Ns9AkBQyFsb8BxrSIE79xx7wto1iG8w6kRaEuOurLEguEkp1Tc4o hok4OSaqmZ+5LFoDpdIotYMMWsJFY0/i5Kcv4+Y27uhfbbtwR9WhDN9gRfaSpw9N NkCW4RjsyWqHTtvmp29kGP0kdmY3Jy5GZga6E0150ngC9wzem+E/S4pS51c3WuUZ Dt+iA3BOafjqC6Mzs8rbwr/Ye6/wXcK6EQSUpT8Q63oa2THJJ+DCmbfUyfGKWq6M F+OLtMgITXKGOAa9edHcKegUQVeLQJZ6zh33iVeNaQfScJtRYLUcrTKG6ibt8wbC Cs/vOne3sHQ5fw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleeggddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhephffvuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeffrghnihgvlhcuighuuceougig uhesugiguhhuuhdrgiihiieqnecuggftrfgrthhtvghrnhepgfekudelkefhteevhfeggf dvgeefjeefgfeuvddutdfhgffghfehtdeuueetfeeinecukfhppeduieefrdduudegrddu fedvrddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Received: from dlxu-fedora-R90QNFJV.thefacebook.com (unknown [163.114.132.1]) by mail.messagingengine.com (Postfix) with ESMTPA id ECE3A3064684; Thu, 29 Oct 2020 19:18:10 -0400 (EDT) From: Daniel Xu To: linux-btrfs@vger.kernel.org, dsterba@suse.cz Cc: Daniel Xu , kernel-team@fb.com Subject: [PATCH 2/3] btrfs-progs: bash: Update completion script with create-control-device Date: Thu, 29 Oct 2020 16:17:37 -0700 Message-Id: <8c48f71ff99c7e317524e3a189a3218e200d33c2.1604013169.git.dxu@dxuuu.xyz> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org The previous commit added a new subcommand so in this commit we update the bash completion script. Signed-off-by: Daniel Xu --- btrfs-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrfs-completion b/btrfs-completion index 6ae57d1b..5bbd5378 100644 --- a/btrfs-completion +++ b/btrfs-completion @@ -28,7 +28,7 @@ _btrfs() commands_balance='start pause cancel resume status' commands_device='scan add delete remove ready stats usage' commands_scrub='start cancel resume status' - commands_rescue='chunk-recover super-recover zero-log' + commands_rescue='chunk-recover super-recover zero-log create-control-device' commands_inspect_internal='inode-resolve logical-resolve subvolid-resolve rootid min-dev-size dump-tree dump-super tree-stats' commands_property='get set list' commands_quota='enable disable rescan'