From 6a302c5863fea16e14ec6a4104e92023d8e2e977 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 2 Jun 2016 15:11:37 +0200 Subject: [PATCH] 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. --- adu.1.inc | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.2