aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-04-08 17:39:51 +0200
committerDavid Sterba <dsterba@suse.cz>2015-04-08 17:39:51 +0200
commit08f9acadab168a2f337542dcceaa3c5e748c1e83 (patch)
tree93ee94103808d8fa4c955ab97602d558a460cd42 /cmds-subvolume.c
parent4074ae5f2bac71889527e817ddeee5fd85a3ba59 (diff)
downloadbtrfs-progs-08f9acadab168a2f337542dcceaa3c5e748c1e83.tar.gz
btrfs-progs-08f9acadab168a2f337542dcceaa3c5e748c1e83.tar.xz
btrfs-progs-08f9acadab168a2f337542dcceaa3c5e748c1e83.zip
btrfs-progs: getopt, use symbolic name for argument requirements
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r--cmds-subvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index a31cb1b..3d5a766 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -404,7 +404,7 @@ static int cmd_subvol_list(int argc, char **argv)
while(1) {
int c;
static const struct option long_options[] = {
- {"sort", 1, NULL, 'S'},
+ {"sort", required_argument, NULL, 'S'},
{NULL, 0, NULL, 0}
};