summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-02-18 18:43:59 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-02-18 18:43:59 +0000
commit5eb7b6113b8d4b59de5177e8b1485dc0c3ae19db (patch)
tree4749bbc3ddc07f5faa1d4e18194e2162d14ceb29 /source3/torture
parentc536b88b2b71c264a1e31ada51e463fee5cb949b (diff)
downloadsamba-5eb7b6113b8d4b59de5177e8b1485dc0c3ae19db.tar.gz
samba-5eb7b6113b8d4b59de5177e8b1485dc0c3ae19db.tar.bz2
samba-5eb7b6113b8d4b59de5177e8b1485dc0c3ae19db.zip
Add -V option (to print out version) to utilities where possible
(pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/samtest.c1
-rw-r--r--source3/torture/vfstest.c1
2 files changed, 2 insertions, 0 deletions
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}
};