From c9ca6092fe040751b4aaaeb2b7bfe8800bdb0daf Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 13 May 2008 13:52:58 +0200 Subject: net: Split out "net file" (This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78) --- source3/utils/net_help.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'source3/utils/net_help.c') 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 [] file [misc. options] [targets]\n"\ - "\tlists all open files on file server\n\n"); - d_printf("net [] file USER "\ - "[misc. options] [targets]"\ - "\n\tlists all files opened by username on file server\n\n"); - d_printf("net [] file CLOSE [misc. options] [targets]\n"\ - "\tcloses specified file on target server\n\n"); - d_printf("net [rap] file INFO [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}, -- cgit