summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.1
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1998-12-08 13:00:49 +0000
committercracauer <cracauer@FreeBSD.org>1998-12-08 13:00:49 +0000
commitc4f0cd91dfd075657106a1cf7a6b6e0b3a1712f9 (patch)
treefc3f9e64c7788a6155478c488fe7065670d41463 /usr.bin/fetch/fetch.1
parentb34285d7af1280b5524d2efb346146f3bb7834e1 (diff)
downloadFreeBSD-src-c4f0cd91dfd075657106a1cf7a6b6e0b3a1712f9.zip
FreeBSD-src-c4f0cd91dfd075657106a1cf7a6b6e0b3a1712f9.tar.gz
Add -s option, just report size of file that would be fetched.
Reviewed by: -current list
Diffstat (limited to 'usr.bin/fetch/fetch.1')
-rw-r--r--usr.bin/fetch/fetch.15
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.1 b/usr.bin/fetch/fetch.1
index 06a2fc0..ccbc80c 100644
--- a/usr.bin/fetch/fetch.1
+++ b/usr.bin/fetch/fetch.1
@@ -1,4 +1,4 @@
-.\" $Id: fetch.1,v 1.24 1998/09/20 00:01:26 jkh Exp $
+.\" $Id: fetch.1,v 1.25 1998/11/08 23:18:47 des Exp $
.Dd July 2, 1996
.Dt FETCH 1
.Os FreeBSD 2.2
@@ -115,6 +115,9 @@ This option is useful to prevent
.Nm fetch
from downloading a file that is either incomplete or the wrong version,
given the correct size of the file in advance.
+.It Fl s
+Ask server for size of file in bytes and print it to stdout. Do not
+actually fetch the file.
.It Fl T Ar seconds
Set timeout value to
.Ar seconds.
OpenPOWER on IntegriCloud