From 5eb7b6113b8d4b59de5177e8b1485dc0c3ae19db Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 18 Feb 2003 18:43:59 +0000 Subject: Add -V option (to print out version) to utilities where possible (pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b) --- source3/torture/samtest.c | 1 + source3/torture/vfstest.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/torture') diff --git a/source3/torture/samtest.c b/source3/torture/samtest.c index 17444c0757..a1ccec098b 100644 --- a/source3/torture/samtest.c +++ b/source3/torture/samtest.c @@ -369,6 +369,7 @@ int main(int argc, char *argv[]) {"command", 'e', POPT_ARG_STRING, &cmdstr, 'e', "Execute semicolon seperated cmds"}, {"logfile", 'l', POPT_ARG_STRING, &opt_logfile, 'l', "Logfile to use instead of stdout"}, {"configfile", 'c', POPT_ARG_STRING, &config_file, 0,"use different configuration file",NULL}, + { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version}, { 0, 0, 0, 0} }; diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index 78d22a07ac..fef189844b 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -495,6 +495,7 @@ int main(int argc, char *argv[]) {"command", 'c', POPT_ARG_STRING, &cmdstr, 0, "Execute specified list of commands" }, {"logfile", 'l', POPT_ARG_STRING, &opt_logfile, 'l', "Write output to specified logfile" }, { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug }, + { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version}, { 0, 0, 0, 0} }; -- cgit