btrfs-progs: subvol create: remove v from getopt
authorDavid Sterba <dsterba@suse.com>
Mon, 19 Sep 2016 17:43:24 +0000 (19:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Sep 2016 09:50:38 +0000 (11:50 +0200)
The option 'v' was mistakenly added in
2ed161bd281beca29feebebbc8c4227cc6e918c3 but there's no such option for
create at the moment, remove it.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-subvolume.c

index c639553..b3f7cbc 100644 (file)
@@ -128,7 +128,7 @@ static int cmd_subvol_create(int argc, char **argv)
        DIR     *dirstream = NULL;
 
        while (1) {
-               int c = getopt(argc, argv, "c:i:v");
+               int c = getopt(argc, argv, "c:i:");
                if (c < 0)
                        break;