]> git.tuebingen.mpg.de Git - adu.git/blobdiff - select.ggo
Use the new formating code to print the user summary.
[adu.git] / select.ggo
index f4d090b1e05bf6f9f72adca3b322f32b81c33373..1093d46a7e2ba2ecd1870ed63853f7c6a1432420 100644 (file)
@@ -154,3 +154,21 @@ details="
        with the base directory. The default is to print paths relative
        to the base dir.
 "
        with the base directory. The default is to print paths relative
        to the base dir.
 "
+
+########################
+section "Format strings"
+########################
+
+option "user-summary-format" -
+#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+"How to format the user summary"
+string typestr="<format>"
+default="%(pw_name:l:16) %(uid:r:5) %(dirs:r:5) %(files:r:5) %(size:r:5)\n"
+details="
+       pw_name: The user name
+       uid: The user id
+       dirs: The number of directories
+       files: The number of files
+       size: Total size of all files
+"
+optional