diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2007-11-17 21:01:22 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2007-11-17 21:01:22 +0000 |
commit | 809069442797070fed9aa38bcfa9e8eaaf34cf1d (patch) | |
tree | 28ddbcfac0a9a167898e535e2302f6fa9669d785 /bin | |
parent | cadf8ad71c76df6b5705b6dc7c1d471c08e95e6c (diff) | |
download | src-809069442797070fed9aa38bcfa9e8eaaf34cf1d.tar.gz src-809069442797070fed9aa38bcfa9e8eaaf34cf1d.zip |
Express in the usage() and SYNOPSIS that -F depends on -s, and
that -f and -i are exclusive.
Notes
Notes:
svn path=/head/; revision=173702
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 4c17dc153e20..e6ac24a9a5e7 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 12d37bf6ac29..d164c76b3fac 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); } |