- Subject: [PATCH] Add version number to --help output
- From: Bruce Cran <bruce@xxxxxxxxxxx>
- Date: Sat, 30 Jul 2011 10:47:38 +0100
- Cc: fio@xxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
It's useful to see what version is being used with --help. The attached
patch adds that.
--
Bruce Cran
diff --git a/init.c b/init.c
index 98e10f7..9b386c5 100644
--- a/init.c
+++ b/init.c
@@ -1021,6 +1021,7 @@ static int setup_thread_area(void)
static void usage(const char *name)
{
+ printf("%s\n", fio_version_string);
printf("%s [options] [job options] <job file(s)>\n", name);
printf("\t--debug=options\tEnable debug logging\n");
printf("\t--output\tWrite output to file\n");
[Home]
[Linux SCSI]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]