Make --uid take a comma-separated list of uids and move it to select.ggo.
[adu.git] / select.ggo
1
2 option "uid" u
3 #~~~~~~~~~~~~~
4 "user id(s) to take into account"
5 string typestr="uid_spec"
6 optional
7 details="
8 An uid specifier may be a single number, or a range of uids.
9 Example:
10
11 --uid 42 # only consider uid 42
12 --uid 42- # only consider uids greater or equal than 42
13 --uid 23-42 # only consider uids between 23 and 42, inclusively.
14 --uid 23-42,666-777,88 # consider uids 23-42, 666-777 and 88.
15 "
16
17 option "limit" L
18 #~~~~~~~~~~~~~~~
19 "Limit output"
20 int typestr="num"
21 default="-1"
22 optional
23 details="
24 Only print num lines of output. If negative (the default),
25 print all lines.
26 "
27
28 option "no-headers" -
29 #~~~~~~~~~~~~~~~~~~~~
30 "supress descriptions for listings/tables"
31 flag off
32 details="
33 This is mostly useful to feed the output of adu to scripts.
34 "
35
36 option "sort" s
37 #~~~~~~~~~~~~~~~
38 "how to sort the output"
39 enum typestr="<key>"
40 values="sizes","files","unsorted"
41 default="sizes"
42 optional
43 details="
44 Sort by file size, file count or unsorted.
45 "
46
47 option "format" f
48 #~~~~~~~~~~~~~~~~~
49 "how to format the output"
50 string typestr="<format>"
51 optional
52 details="
53 %(basedir) -- the path given to --base-dir during create
54 %(dir) -- the name of the directory
55 %(dir_size) -- the size of the sum of all regular files in this directory
56 %(num_files) -- the number of regular files in this directory
57 %% -- interpolates to %
58 %xx -- interpolates to the character with hex code xx
59 "
60
61 option "output" o
62 #~~~~~~~~~~~~~~~~
63 "file to write output to"
64 string typestr="<path>"
65 optional
66 default="-"
67 details="
68 If empty, or not given, use stdout.
69 "