btrfs-progs: cmd property: use correct usage strings
authorDavid Sterba <dsterba@suse.com>
Mon, 11 Jan 2016 14:35:07 +0000 (15:35 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 12 Jan 2016 14:02:53 +0000 (15:02 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-property.c

index 27631d6cf3429630430620115554e6540d077923..9ca2abbd6a89335a90ea277666ccade812dd2baa 100644 (file)
@@ -402,7 +402,7 @@ static int cmd_property_get(int argc, char **argv)
                        NULL);
        if (!object) {
                error("invalid arguments");
-               usage(cmd_property_set_usage);
+               usage(cmd_property_get_usage);
        }
 
        if (name)
@@ -449,7 +449,7 @@ static int cmd_property_list(int argc, char **argv)
                        &types, &object, NULL, NULL);
        if (!object) {
                error("invalid arguments");
-               usage(cmd_property_set_usage);
+               usage(cmd_property_list_usage);
        }
 
        ret = dump_props(types, object, 1);