Add option to specify binary or decimal sizes (#2118)
* Add option to specify binary or decimal sizes * Fix test case error message * Add documentation * Fix typo
This commit is contained in:
1 parent
8150586bc2
commit
4fe8f5a858
8 files changed
+103
-31
No files matched your search
@@ -398,6 +398,8 @@ func completeCmd(acc []rune) (matches []compMatch, result string) {
|
||||
matches, result = matchList(f[2], []string{"mode", "timestamps"})
|
||||
case "selmode":
|
||||
matches, result = matchWord(f[2], []string{"all", "dir"})
|
||||
case "sizeunits":
|
||||
matches, result = matchWord(f[2], []string{"binary", "decimal"})
|
||||
case "sortby":
|
||||
matches, result = matchWord(f[2], []string{"atime", "btime", "ctime", "custom", "ext", "name", "natural", "size", "time"})
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user