Make user summary sortable by user defined column.
[adu.git] / adu.ggo
diff --git a/adu.ggo b/adu.ggo
index f2d14c9..0be213d 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.
+"