]> git.tuebingen.mpg.de Git - adu.git/commitdiff
manual: Add two more examples.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 4 Jun 2016 13:43:01 +0000 (15:43 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 24 Jun 2016 10:55:32 +0000 (12:55 +0200)
Thomas Helle suggested to mention also the global summary and the
--list-sort feature of adu. This commit adds two more examples which
illustrate these features.

adu.1.inc

index 79f14786257bb617621769af2b3587ff52fd0224..1bf06c214873ba132cc5a01d4aba046aeb399c16 100644 (file)
--- a/adu.1.inc
+++ b/adu.1.inc
@@ -13,7 +13,14 @@ Here's a simple query that uses the newly created database to print
 the user-summary:
 .IP
        $ adu --select --database-dir /root/adu-var
-
+.PP
+To print the one-line global summary instead, use
+.IP
+       $ adu --select --database-dir /root/adu-var --select-options '--select-mode global_summary'
+.PP
+To sort the user summary by file count rather than by file size, run
+.IP
+       $ adu --select --database-dir /root/adu-var --select-options '--list-sort=file_count'
 .PP
 The command below prints the five largest directories of the users root and
 mysql: