X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=select.ggo;h=b0b1daa6f007c5e13958ca799a7d6e32dec8b206;hb=1231699dcaf1e96aabe33ef621aedecec83a5ccd;hp=d8f3ae3a37ad8b51ae9e8c3f03b106750af46117;hpb=62675ddea6a9933470c9f75188fde4ab83cc1794;p=adu.git diff --git a/select.ggo b/select.ggo index d8f3ae3..b0b1daa 100644 --- a/select.ggo +++ b/select.ggo @@ -33,6 +33,20 @@ details=" This is mostly useful to feed the output of adu to scripts. " +option "select-mode" m +#~~~~~~~~~~~~~~~~~~~~~ +"How to print the results of the query" +enum typestr="" +values="global_list","global_summary","user_list","user_summary" +default="global_list" +optional +details=" + global_list: List of directories, regardless of owner. + global_summary: Only print totals. + user_list: Print a list for each admissible uid. + user_summary Print totals for each admissible uid. +" + option "sort" s #~~~~~~~~~~~~~~~ "how to sort the output" @@ -145,6 +159,18 @@ details=" section "Format strings" ######################## +option "global-list-format" - +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +"How to format the global list" +string typestr="" +default="%(size:r:8) %(files:r:8) %(dirname)\n" +details=" + size: Total size of all files + files: The number of files + dirname: The name of the directory +" + +optional option "global-summary-format" - #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "How to format the global summary"