X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=select.ggo;fp=select.ggo;h=f29cd2f8a6ad947f15ce9079135bdcd8dfe63d35;hb=e155bb7cba1be31490cb42228f5ae3598a728b0d;hp=914e3517d185f8a84e0d61d581ef6cd035e246f6;hpb=06ed2a8ccb7f05eacb530a34f222a1d900f35bf5;p=adu.git diff --git a/select.ggo b/select.ggo index 914e351..f29cd2f 100644 --- a/select.ggo +++ b/select.ggo @@ -47,12 +47,22 @@ details=" except global_summary (which outputs only one single line). " -option "no-headers" - -#~~~~~~~~~~~~~~~~~~~~ -"suppress descriptions for listings/summaries" -flag off +option "header" H +#~~~~~~~~~~~~~~~~ +"use a customized header for listings/summaries" +string typestr="string" +optional details=" - This is mostly useful to feed the output of adu to scripts. + This option can be used to print any string instead of the + default header line (which depends on the selected mode). + + In user_list mode the header is a format string which allows + to include the uid and the user name in the header. See the + --format option for more details. + + It is possible to set this to the empty string to suppress + the header completely. This is mostly useful to feed the + output to scripts. " option "select-mode" m @@ -196,19 +206,20 @@ details=" together with their types, and for which modes each of them may be used. - pw_name (string): user name. Available for user_list - and user_summary + pw_name (string): user name. Available for user_list, + user_summary and for the header in user_list mode. - uid (id): user id. Available for user_list and - user_summary. + uid (id): user id. Available for user_list, + user_summary and for the header in user_list mode. - files (count): number of files. Available everywhere. + files (count): number of files. Available for all + modes. dirname (string): name of the directory. Available for user_list and global_list. size (size): total size/ directory size. Available - everywhere. + for all modes. dirs (count): number of directories. Available for user_summary and global_summary.