summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_conf.c')
-rw-r--r--source3/utils/net_conf.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 106a53246d..9a83b46212 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -39,14 +39,14 @@
static int net_conf_list_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf list\n"));
+ d_printf(_("Usage:"), " net conf list\n");
return -1;
}
static int net_conf_import_usage(struct net_context *c, int argc,
const char**argv)
{
- d_printf(_("USAGE: net conf import [--test|-T] <filename> "
+ d_printf(_("Usage:"), _(" net conf import [--test|-T] <filename> "
"[<servicename>]\n"
"\t[--test|-T] testmode - do not act, just print "
"what would be done\n"
@@ -58,28 +58,28 @@ static int net_conf_import_usage(struct net_context *c, int argc,
static int net_conf_listshares_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf listshares\n"));
+ d_printf(_("Usage:"), " net conf listshares\n");
return -1;
}
static int net_conf_drop_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf drop\n"));
+ d_printf(_("Usage:"), " net conf drop\n");
return -1;
}
static int net_conf_showshare_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf showshare <sharename>\n"));
+ d_printf(_("Usage:"), _(" net conf showshare <sharename>\n"));
return -1;
}
static int net_conf_addshare_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf addshare <sharename> <path> "
+ d_printf(_("Usage:"), _(" net conf addshare <sharename> <path> "
"[writeable={y|N} [guest_ok={y|N} [<comment>]]\n"
"\t<sharename> the new share name.\n"
"\t<path> the path on the filesystem to export.\n"
@@ -94,49 +94,49 @@ static int net_conf_addshare_usage(struct net_context *c, int argc,
static int net_conf_delshare_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf delshare <sharename>\n"));
+ d_printf(_("Usage: "), _(" net conf delshare <sharename>\n"));
return -1;
}
static int net_conf_setparm_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf setparm <section> <param> <value>\n"));
+ d_printf(_("Usage:"), _(" net conf setparm <section> <param> <value>\n"));
return -1;
}
static int net_conf_getparm_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf getparm <section> <param>\n"));
+ d_printf(_("Usage:"), _(" net conf getparm <section> <param>\n"));
return -1;
}
static int net_conf_delparm_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf delparm <section> <param>\n"));
+ d_printf(_("Usage:"), _(" net conf delparm <section> <param>\n"));
return -1;
}
static int net_conf_getincludes_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf getincludes <section>\n"));
+ d_printf(_("Usage:"), _(" net conf getincludes <section>\n"));
return -1;
}
static int net_conf_setincludes_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf setincludes <section> [<filename>]*\n"));
+ d_printf(_("Usage:"), _(" net conf setincludes <section> [<filename>]*\n"));
return -1;
}
static int net_conf_delincludes_usage(struct net_context *c, int argc,
const char **argv)
{
- d_printf(_("USAGE: net conf delincludes <section>\n"));
+ d_printf(_("Usage:"), _(" net conf delincludes <section>\n"));
return -1;
}