X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=select.ggo;h=d8f3ae3a37ad8b51ae9e8c3f03b106750af46117;hb=4f9bae50504bb5de8f4db417f684684844bbb597;hp=f4d090b1e05bf6f9f72adca3b322f32b81c33373;hpb=cecbe8525740b4a899cb1a6c91064e195ae1ada2;p=adu.git diff --git a/select.ggo b/select.ggo index f4d090b..d8f3ae3 100644 --- a/select.ggo +++ b/select.ggo @@ -44,20 +44,6 @@ details=" Sort by file size, file count or unsorted. " -option "format" f -#~~~~~~~~~~~~~~~~~ -"how to format the output" -string typestr="" -optional -details=" - %(basedir) -- the path given to --base-dir during create - %(dir) -- the name of the directory - %(dir_size) -- the size of the sum of all regular files in this directory - %(num_files) -- the number of regular files in this directory - %% -- interpolates to % - %xx -- interpolates to the character with hex code xx -" - option "output" o #~~~~~~~~~~~~~~~~ "file to write output to" @@ -154,3 +140,33 @@ details=" with the base directory. The default is to print paths relative to the base dir. " + +######################## +section "Format strings" +######################## + +option "global-summary-format" - +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +"How to format the global summary" +string typestr="" +default="#directories: %(dirs), #files: %(files), size: %(size)\n\n" +details=" + dirs: The number of directories + files: The number of files + size: Total size of all files +" +optional + +option "user-summary-format" - +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +"How to format the user summary" +string typestr="" +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