diff options
author | ru <ru@FreeBSD.org> | 2007-11-17 21:01:22 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-11-17 21:01:22 +0000 |
commit | 3371e726069eae60d9d0e25e51fc486cbe9f2e05 (patch) | |
tree | 28ddbcfac0a9a167898e535e2302f6fa9669d785 /bin | |
parent | 4a831eed3734fe77980e7b3e6223bfbb50f63de8 (diff) | |
download | FreeBSD-src-3371e726069eae60d9d0e25e51fc486cbe9f2e05.zip FreeBSD-src-3371e726069eae60d9d0e25e51fc486cbe9f2e05.tar.gz |
Express in the usage() and SYNOPSIS that -F depends on -s, and
that -f and -i are exclusive.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ln/ln.1 | 8 | ||||
-rw-r--r-- | bin/ln/ln.c | 4 |
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); } |