summaryrefslogtreecommitdiffstats
path: root/Documentation/howto-usage-function.txt
diff options
context:
space:
mode:
authorSami Kerola2016-04-16 16:30:39 +0200
committerSami Kerola2016-04-17 00:08:18 +0200
commit326c5c93b917a623f346155c8b3438b379d9fd60 (patch)
tree9c47cbdf3125b3a18b9fabcade84645a60de2690 /Documentation/howto-usage-function.txt
parentlibmount: make kernel_fs_postparse() more robust (diff)
downloadkernel-qcow2-util-linux-326c5c93b917a623f346155c8b3438b379d9fd60.tar.gz
kernel-qcow2-util-linux-326c5c93b917a623f346155c8b3438b379d9fd60.tar.xz
kernel-qcow2-util-linux-326c5c93b917a623f346155c8b3438b379d9fd60.zip
docs: optinal option arguments should be long-only
Deprecate adding new short optional option arguments. They are problematic. Proposed-by: Ruediger Meier <sweet_f_a@gmx.de> Acked-by: Karel Zak <kzak@redhat.com> Reviewed-by: Benno Schulenberg <bensberg@justemail.net> Reference: https://lists.gnu.org/archive/html/coreutils/2012-11/msg00004.html Reference: http://marc.info/?l=util-linux-ng&m=146062997618853&w=2 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'Documentation/howto-usage-function.txt')
-rw-r--r--Documentation/howto-usage-function.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/howto-usage-function.txt b/Documentation/howto-usage-function.txt
index dd1f4eded..54d3084cb 100644
--- a/Documentation/howto-usage-function.txt
+++ b/Documentation/howto-usage-function.txt
@@ -45,7 +45,7 @@ Usage:
Options:
-n, --no-argument option does not use argument
- -o, --optional[=<arg>] option argument is optional
+ --optional[=<arg>] option argument is optional
-r, --required <arg> option requires an argument
-z no long option
--xyzzy a long option only