summaryrefslogtreecommitdiff
path: root/source3/utils/net_help.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r--source3/utils/net_help.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c
index 4d53898305..3635ba02f3 100644
--- a/source3/utils/net_help.c
+++ b/source3/utils/net_help.c
@@ -72,23 +72,6 @@ int net_help_share(struct net_context *c, int argc, const char **argv)
return -1;
}
-int net_help_file(struct net_context *c, int argc, const char **argv)
-{
- d_printf("net [<method>] file [misc. options] [targets]\n"\
- "\tlists all open files on file server\n\n");
- d_printf("net [<method>] file USER <username> "\
- "[misc. options] [targets]"\
- "\n\tlists all files opened by username on file server\n\n");
- d_printf("net [<method>] file CLOSE <id> [misc. options] [targets]\n"\
- "\tcloses specified file on target server\n\n");
- d_printf("net [rap] file INFO <id> [misc. options] [targets]\n"\
- "\tdisplays information about the specified open file\n");
-
- net_common_methods_usage(c, argc, argv);
- net_common_flags_usage(c, argc, argv);
- return -1;
-}
-
int net_help_printer(struct net_context *c, int argc, const char **argv)
{
d_printf("net rpc printer LIST [printer] [misc. options] [targets]\n"\
@@ -170,7 +153,7 @@ int net_help(struct net_context *c, int argc, const char **argv)
{"RAP", net_rap_help},
{"RPC", net_rpc_help},
- {"FILE", net_help_file},
+ {"FILE", net_file_usage},
{"SHARE", net_help_share},
{"SESSION", net_rap_session_usage},
{"SERVER", net_rap_server_usage},