diff options
author | Kai Blin <kai@samba.org> | 2008-05-13 13:52:58 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2008-05-20 14:27:47 +0200 |
commit | c9ca6092fe040751b4aaaeb2b7bfe8800bdb0daf (patch) | |
tree | c837c742f8d411a00aeaaa98e0dfee9e4ee88fc6 /source3/utils/net_help.c | |
parent | 007f0e19dc4c6afc2d5f97d7f89932d4eff7d354 (diff) | |
download | samba-c9ca6092fe040751b4aaaeb2b7bfe8800bdb0daf.tar.gz |
net: Split out "net file"
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r-- | source3/utils/net_help.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c index 4d538983054..3635ba02f3d 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}, |