summaryrefslogtreecommitdiff
path: root/source3/utils/net_time.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-03-15 20:03:07 +0000
committerJim McDonough <jmcd@samba.org>2002-03-15 20:03:07 +0000
commitbb38f48f6f2b5a5b8803c622e40107bb15876625 (patch)
tree59f3205bfa0faefc16310ace56d663f4feaadbfe /source3/utils/net_time.c
parent7d4378cc892550465b75aae563cd6f7ea1608c21 (diff)
downloadsamba-bb38f48f6f2b5a5b8803c622e40107bb15876625.tar.gz
samba-bb38f48f6f2b5a5b8803c622e40107bb15876625.tar.bz2
samba-bb38f48f6f2b5a5b8803c622e40107bb15876625.zip
Some help cleanups. Formatting and consistency issues. Line up text nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that
(This used to be commit 17775dae28c724b11cc73f2aeac5f07f9656046c)
Diffstat (limited to 'source3/utils/net_time.c')
-rw-r--r--source3/utils/net_time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c
index a3a230e0da..3f5532109c 100644
--- a/source3/utils/net_time.c
+++ b/source3/utils/net_time.c
@@ -94,7 +94,7 @@ int net_time_usage(int argc, const char **argv)
"net time set\n\truns /bin/date with the time from the server\n\n"\
"net time zone\n\tdisplays the timezone in hours from GMT on the remote computer\n\n"\
"\n");
- general_rap_usage(argc, argv);
+ net_common_flags_usage(argc, argv);
return -1;
}
@@ -168,6 +168,7 @@ int net_time(int argc, const char **argv)
if (!opt_host && !opt_have_ip) {
d_printf("You must specify a hostname or IP\n");
+ net_time_usage(argc,argv);
return -1;
}