Make user summary sortable by user defined column.
[adu.git] / adu.ggo
diff --git a/adu.ggo b/adu.ggo
index f2d14c98dc75e76fbd970f4afb744f70ae703b20..0be213df4c7117025a8b717220887b7aa45a1e75 100644 (file)
--- a/adu.ggo
+++ b/adu.ggo
@@ -201,3 +201,15 @@ details="
        number/10^15. The default is to print numbers in human-readable
        format.
 "
+
+option "user-summary-sort" -
+#~~~~~~~~~~~~~~~~~~~~~~~~~~~
+"how to sort the user-summary"
+enum typestr="col_spec"
+values="name","uid","dir_count","file_count","size"
+default="size"
+optional
+details="
+       It is enough to specify the first letter of the column specifier,
+       e.g. \"--user-summary-sort f\" sorts by file count.
+"