All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lakshmipathi.G" <lakshmipathi.g@gmail.com>
To: Qu Wenruo <quwenruo@cn.fujitsu.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs-progs: btrfs-debugfs: Display usage hint with no arguments
Date: Wed, 4 Jan 2017 19:43:37 +0530	[thread overview]
Message-ID: <CAKuJGC9wKcqSiWAxffb4MFjHR3K7Y1OijffGiBcnE-rLCpytNg@mail.gmail.com> (raw)
In-Reply-To: <ae61834f-3157-dbef-5566-ac102d43cbc4@cn.fujitsu.com>

I think we can achieve above help string with the help of custom usage
function instead of using argparse default usage.  I'll check and send
a new patch.

----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in


On Wed, Jan 4, 2017 at 6:14 AM, Qu Wenruo <quwenruo@cn.fujitsu.com> wrote:
> What about changing current help string to:
>
> btrfs-debugfs -b|-f path
> or
> btrfs-debugfs -h
>
> Thanks,
> Qu

  parent reply	other threads:[~2017-01-04 14:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03 11:58 [PATCH] btrfs-progs: btrfs-debugfs: Display usage hint with no arguments Lakshmipathi.G
2017-01-03 14:46 ` David Sterba
2017-01-03 15:28   ` Lakshmipathi.G
2017-01-03 16:06     ` David Sterba
     [not found] ` <ae61834f-3157-dbef-5566-ac102d43cbc4@cn.fujitsu.com>
2017-01-04 14:13   ` Lakshmipathi.G [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-01-03 10:50 Lakshmipathi.G

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKuJGC9wKcqSiWAxffb4MFjHR3K7Y1OijffGiBcnE-rLCpytNg@mail.gmail.com \
    --to=lakshmipathi.g@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.