From 67fee7a79a099c0525a0399465077f8585d597cb Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 19 May 2008 16:36:18 +0200 Subject: net: Make "net usershare" use functable3 (This used to be commit b45ada159e1eec757eaf5210517139aae4159119) --- source3/utils/net_usershare.c | 78 +++++++++++++++++++++++++++---------------- 1 file changed, 49 insertions(+), 29 deletions(-) diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index 347107fb6e..595fb9f5ca 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -84,7 +84,7 @@ static int net_usershare_add_usage(struct net_context *c, int argc, const char * static int net_usershare_delete_usage(struct net_context *c, int argc, const char **argv) { d_printf( - "net usershare delete \n"\ + "net usershare delete \n" "\tdeletes the specified share name for this user.\n"); return -1; } @@ -92,7 +92,7 @@ static int net_usershare_delete_usage(struct net_context *c, int argc, const cha static int net_usershare_info_usage(struct net_context *c, int argc, const char **argv) { d_printf( - "net usershare info [-l|--long] [wildcard sharename]\n"\ + "net usershare info [-l|--long] [wildcard sharename]\n" "\tPrints out the path, comment and acl elements of shares that match the wildcard.\n" "\tBy default only gives info on shares owned by the current user\n" "\tAdd -l or --long to apply this to all shares\n" @@ -103,7 +103,7 @@ static int net_usershare_info_usage(struct net_context *c, int argc, const char static int net_usershare_list_usage(struct net_context *c, int argc, const char **argv) { d_printf( - "net usershare list [-l|--long] [wildcard sharename]\n"\ + "net usershare list [-l|--long] [wildcard sharename]\n" "\tLists the names of all shares that match the wildcard.\n" "\tBy default only lists shares owned by the current user\n" "\tAdd -l or --long to apply this to all shares\n" @@ -118,7 +118,7 @@ int net_usershare_usage(struct net_context *c, int argc, const char **argv) "net usershare delete to delete a user defined share.\n" "net usershare info [-l|--long] [wildcard sharename] to print info about a user defined share.\n" "net usershare list [-l|--long] [wildcard sharename] to list user defined shares.\n" - "net usershare help\n"\ + "net usershare help\n" "\nType \"net usershare help