diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sort/sort.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sort/sort.go b/lib/sort/sort.go index 287f986c..082ba48b 100644 --- a/lib/sort/sort.go +++ b/lib/sort/sort.go @@ -51,6 +51,8 @@ func parseSortField(arg string) (types.SortField, error) { return types.SortSubject, nil case "to": return types.SortTo, nil + case "flagged": + return types.SortFlagged, nil default: return types.SortArrival, fmt.Errorf("%v is not a valid sort criterion", arg) } |