diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-02-18 18:43:59 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-02-18 18:43:59 +0000 |
commit | 5eb7b6113b8d4b59de5177e8b1485dc0c3ae19db (patch) | |
tree | 4749bbc3ddc07f5faa1d4e18194e2162d14ceb29 /source3/rpcclient | |
parent | c536b88b2b71c264a1e31ada51e463fee5cb949b (diff) | |
download | samba-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/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 1 | ||||
-rw-r--r-- | source3/rpcclient/samsync.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 81bb62486a..37ce597d4e 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -585,6 +585,7 @@ out_free: {"dest-ip", 'I', POPT_ARG_STRING, &opt_ipaddr, 'I', "Specify destination IP address", "IP"}, { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug }, { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_configfile }, + { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version}, { NULL } }; diff --git a/source3/rpcclient/samsync.c b/source3/rpcclient/samsync.c index f941d70e5e..a4061d2a87 100644 --- a/source3/rpcclient/samsync.c +++ b/source3/rpcclient/samsync.c @@ -632,6 +632,7 @@ struct poptOption popt_common_interactive[] = { "Replicate SAM changes" }, { "serial", 0, POPT_ARG_INT, &serial, 0, "SAM serial number" }, { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_debug }, + { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version}, { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_auth_info }, { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_interactive }, POPT_AUTOHELP |