From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgwym03.jp.fujitsu.com ([211.128.242.42]:55192 "EHLO mgwym03.jp.fujitsu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932896AbcCPCLg (ORCPT ); Tue, 15 Mar 2016 22:11:36 -0400 Received: from m3051.s.css.fujitsu.com (m3051.s.css.fujitsu.com [10.134.21.209]) by yt-mxq.gw.nic.fujitsu.com (Postfix) with ESMTP id F3CE7AC02F8 for ; Wed, 16 Mar 2016 11:11:27 +0900 (JST) Subject: [PATCH 2/2 v2] fix a regression that "property" with -t option doesn't work To: "linux-btrfs@vger.kernel.org" References: <56E8BE67.6030802@jp.fujitsu.com> From: Satoru Takeuchi Message-ID: <56E8C0BB.1050307@jp.fujitsu.com> Date: Wed, 16 Mar 2016 11:11:07 +0900 MIME-Version: 1.0 In-Reply-To: <56E8BE67.6030802@jp.fujitsu.com> Content-Type: text/plain; charset=iso-2022-jp Sender: linux-btrfs-owner@vger.kernel.org List-ID: "property" is considered as working without any options from the following commit. commit 176aeca9a148 ("btrfs-progs: add getopt stubs where needed") However, we can pass -t option to this command. * actual result ================================================== $ ./btrfs prop list -t f /btrfs btrfs property list: invalid option -- 't' usage: btrfs property list [-t ] Lists available properties with their descriptions for the given object. Please see the help of 'btrfs property get' for a description of objects and object types. ================================================== * expected result ================================================== $ ./btrfs prop list -t f /btrfs label Set/get label of device. ================================================== Signed-off-by: Satoru Takeuchi