On Thu, Jan 15, 2015 at 09:01:37AM +0800, Qu Wenruo wrote: > > On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: > >> make btrfs qgroups show human readable sizes > >> using --human-readable option, example: > > That's too long to type > It's completely OK to make the option shorter and make it consistent > with other parts, > (BTW, fi df uses -h, no long option, why not keey consistent with it?)
I'm for adding the --human-readable variants where applicable. > but IMHO, isn't the bash-completion script a better solution for all the > btrfs subcommands and options length? > > Complicated commands like git have a quite good bash-completion script, > and with it > option length is never a problem (except some case in git config, where > some options can't be completed). A shell completion would be great of course, it's in the project ideas. There's a starting point http://www.spinics.net/lists/linux-btrfs/msg15899.html . -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html