From 99d2fbb0f26637efe234645725f41cb2bdf57575 Mon Sep 17 00:00:00 2001 From: yoe Date: Thu, 21 Aug 2003 13:31:56 +0000 Subject: [PATCH] r33: use PACKAGE_VERSION to determine what version we are (and output that in the usage message). Did that in nbd-server too, but forgot to tell that in the CVS message :-) --- nbd-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nbd-client.c b/nbd-client.c index e9c08c2..379a3bd 100644 --- a/nbd-client.c +++ b/nbd-client.c @@ -72,6 +72,7 @@ int main(int argc, char *argv[]) if (argc < 3) { errmsg: + fprintf(stderr, "nbd-client version %s\n", PACKAGE_VERSION); fprintf(stderr, "Usage: nbd-client [bs=blocksize] host port nbd_device [-swap]\n"); fprintf(stderr, "Or : nbd-client -d nbd_device\n"); fprintf(stderr, "Default value for blocksize is 1024 (recommended for ethernet)\n"); -- 1.7.10.4