tree: remove -i shorthand for --noindent as it conflicts with -i/--interactive

This commit is contained in:
Nick Craig-Wood 2020-06-05 16:15:38 +01:00
parent b23cf58a41
commit a3b3e1f646

View File

@ -61,7 +61,7 @@ func init() {
flags.BoolVarP(cmdFlags, &opts.DirSort, "dirsfirst", "", false, "List directories before files (-U disables).")
flags.StringVarP(cmdFlags, &sort, "sort", "", "", "Select sort: name,version,size,mtime,ctime.")
// Graphics
flags.BoolVarP(cmdFlags, &opts.NoIndent, "noindent", "i", false, "Don't print indentation lines.")
flags.BoolVarP(cmdFlags, &opts.NoIndent, "noindent", "", false, "Don't print indentation lines.")
flags.BoolVarP(cmdFlags, &opts.Colorize, "color", "C", false, "Turn colorization on always.")
}