All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Voelker <mail@bernhard-voelker.de>
To: util-linux@vger.kernel.org
Subject: losetup --all --verbose results in usage
Date: Wed, 17 Aug 2011 16:12:53 +0200	[thread overview]
Message-ID: <4E4BCC65.2060100@bernhard-voelker.de> (raw)

I was surprised that running
	mount/losetup --all --verbose
results in usage().

As -a is the option to list all used loop devices,
one might think that -v adds some more info to the output.

Neither --help nor the man pages nor the info page tells
that -a doesn't accept other options:

mount/lomount.c (line 1133):

         } else if (all) {
                 if (argc > 2)
                         usage(stderr);

Should we work on this?
If it's not possible to output more information with
-v, then it would maybe make sense to ignore it, right?

Have a nice day,
Berny

             reply	other threads:[~2011-08-17 14:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 14:12 Bernhard Voelker [this message]
2011-08-17 14:22 ` losetup --all --verbose results in usage Davidlohr Bueso
2011-08-17 14:55   ` Bernhard Voelker
2011-08-17 14:44 ` Karel Zak
2011-08-17 15:01   ` Bernhard Voelker

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=4E4BCC65.2060100@bernhard-voelker.de \
    --to=mail@bernhard-voelker.de \
    --cc=util-linux@vger.kernel.org \
    /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.