Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sort: fixed sorters to be split by comma
Fixes #714. Sort attributes passed in from the commandline are csv values e.g ```shell $ drive list -sort name_r,modtime ``` The bug previously was that these values were actually never getting split by comma values, in cmd/drive/main. This CL ensures that we do the necessary splitting and whitespace trimming before we make the sorters. It also updates the CLI doc on sort: * Before ```shell $ drive list -sort -sort string sort items in the order * md5. * name. * size. * type. * version ``` * After ```shell $ drive list -sort -sort string sort items by a combination of attributes * modtime. * md5. * name. * size. * type. * version ```
- Loading branch information