summaryrefslogtreecommitdiffstats
path: root/bin/ln
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ln')
-rw-r--r--bin/ln/ln.18
-rw-r--r--bin/ln/ln.c4
2 files changed, 8 insertions, 4 deletions
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1
index 4c17dc1..e6ac24a 100644
--- a/bin/ln/ln.1
+++ b/bin/ln/ln.1
@@ -41,11 +41,15 @@
.Nd make links
.Sh SYNOPSIS
.Nm
-.Op Fl Ffhinsv
+.Op Fl s Op Fl F
+.Op Fl f | i
+.Op Fl hnv
.Ar source_file
.Op Ar target_file
.Nm
-.Op Fl Ffhinsv
+.Op Fl s Op Fl F
+.Op Fl f | i
+.Op Fl hnv
.Ar source_file ...
.Ar target_dir
.Nm link
diff --git a/bin/ln/ln.c b/bin/ln/ln.c
index 12d37bf..d164c76 100644
--- a/bin/ln/ln.c
+++ b/bin/ln/ln.c
@@ -254,8 +254,8 @@ void
usage(void)
{
(void)fprintf(stderr, "%s\n%s\n%s\n",
- "usage: ln [-Ffhinsv] source_file [target_file]",
- " ln [-Ffhinsv] source_file ... target_dir",
+ "usage: ln [-s [-F]] [-f | -i] [-hnv] source_file [target_file]",
+ " ln [-s [-F]] [-f | -i] [-hnv] source_file ... target_dir",
" link source_file target_file");
exit(1);
}
OpenPOWER on IntegriCloud