From: Andre Noll Date: Thu, 2 Jun 2016 13:11:37 +0000 (+0200) Subject: manual: Add short option example. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=6a302c5863fea16e14ec6a4104e92023d8e2e977;p=adu.git manual: Add short option example. While long options are nice for shell scripts, short options are easier to type at the shell prompt, and look more concise in a man page. This commit adds an example command which is equivalent to the previous one but uses short options and combines two options to explain the equivalence. Subsequent examples will only refer to short options. --- diff --git a/adu.1.inc b/adu.1.inc index fe48d4e..78d7e22 100644 --- a/adu.1.inc +++ b/adu.1.inc @@ -19,6 +19,10 @@ The command below prints the five largest directories of the users root and mysql: .IP $ adu --select --database-dir /root/adu-var --select-options '--select-mode user_list --user root --user mysql --limit 5' +.PP +The same, using short options: +.IP + $ adu -Sd /root/adu-var -s '-m user_list -u root -u mysql -l 5' [SEE ALSO] .BR du (1)