summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-06-21 22:53:24 +0000
committerEric Andersen2000-06-21 22:53:24 +0000
commitaddc9c28ad2d8965456b6b459de964e9f4892919 (patch)
treeb4c9f7509f2d45780cddb2d7e88b885401eeaa83
parent4fa84e6b54c3e5313f6fbc133017f100a25b8f1a (diff)
downloadbusybox-addc9c28ad2d8965456b6b459de964e9f4892919.zip
busybox-addc9c28ad2d8965456b6b459de964e9f4892919.tar.gz
Document 'ln --'
-Erik
-rw-r--r--coreutils/ln.c3
-rw-r--r--docs/busybox.pod3
-rw-r--r--ln.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 2233a1d..16389a2 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -34,7 +34,8 @@
static const char ln_usage[] =
"ln [OPTION] TARGET... LINK_NAME|DIRECTORY\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nCreate a link named LINK_NAME or DIRECTORY to the specified TARGET\n\n"
+ "\nCreate a link named LINK_NAME or DIRECTORY to the specified TARGET\n"
+ "\nYou may use '--' to indicate that all following arguments are non-options.\n\n"
"Options:\n"
"\t-s\tmake symbolic links instead of hard links\n"
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 7f41308..3f7152a 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -914,6 +914,7 @@ Example:
Usage: ln [OPTION] TARGET... LINK_NAME|DIRECTORY
Create a link named LINK_NAME or DIRECTORY to the specified TARGET
+You may use '--' to indicate that all following arguments are non-options.
Options:
@@ -2061,4 +2062,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
-# $Id: busybox.pod,v 1.50 2000/06/21 21:43:24 proski Exp $
+# $Id: busybox.pod,v 1.51 2000/06/21 22:53:24 andersen Exp $
diff --git a/ln.c b/ln.c
index 2233a1d..16389a2 100644
--- a/ln.c
+++ b/ln.c
@@ -34,7 +34,8 @@
static const char ln_usage[] =
"ln [OPTION] TARGET... LINK_NAME|DIRECTORY\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nCreate a link named LINK_NAME or DIRECTORY to the specified TARGET\n\n"
+ "\nCreate a link named LINK_NAME or DIRECTORY to the specified TARGET\n"
+ "\nYou may use '--' to indicate that all following arguments are non-options.\n\n"
"Options:\n"
"\t-s\tmake symbolic links instead of hard links\n"