diff options
author | David Sterba <dsterba@suse.cz> | 2015-06-08 18:54:04 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-09 14:27:54 +0200 |
commit | add9d7fe4b0f0f856adc4fd390350d807204f70c (patch) | |
tree | 76546d8085b6792b9abec89ff08c3dad06d0d934 /btrfs.c | |
parent | 330709ee136f146551718c1c2f351445cba95bfa (diff) |
btrfs-progs: print compact help for btrfs
Running 'btrfs' without arguments will print complete help that spans
a lot of lines and is really helpful. Print only subcommand group
names with short descriptions, similar to what 'git' does.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs.c')
-rw-r--r-- | btrfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ int main(int argc, char **argv) if (!prefixcmp(argv[0], "--")) argv[0] += 2; } else { - usage_command_group(&btrfs_cmd_group, 0, 0); + usage_command_group_short(&btrfs_cmd_group); exit(1); } } |