s3 net/i18n: Use only one spelling for "Usage:"
authorKai Blin <kai@samba.org>
Tue, 19 Jan 2010 08:23:42 +0000 (09:23 +0100)
committerKai Blin <kai@samba.org>
Tue, 19 Jan 2010 09:07:36 +0000 (10:07 +0100)
source3/utils/net.c
source3/utils/net_afs.c
source3/utils/net_conf.c
source3/utils/net_eventlog.c
source3/utils/net_groupmap.c
source3/utils/net_idmap.c
source3/utils/net_registry.c
source3/utils/net_rpc.c
source3/utils/net_rpc_registry.c
source3/utils/net_rpc_sh_acct.c
source3/utils/net_sam.c

index c0bffe27f903fe8d8a398414f3830083ef329938..7f20a258a7dccb0606d22727623be458ba9d87d6 100644 (file)
@@ -277,7 +277,7 @@ static int net_setlocalsid(struct net_context *c, int argc, const char **argv)
             || (strncmp(argv[0], "S-1-5-21-", strlen("S-1-5-21-")) != 0)
             || (!string_to_sid(&sid, argv[0]))
             || (sid.num_auths != 4)) {
-               d_printf(_("usage:")," net setlocalsid S-1-5-21-x-y-z\n");
+               d_printf(_("Usage:")," net setlocalsid S-1-5-21-x-y-z\n");
                return 1;
        }
 
@@ -297,7 +297,7 @@ static int net_setdomainsid(struct net_context *c, int argc, const char **argv)
             || (strncmp(argv[0], "S-1-5-21-", strlen("S-1-5-21-")) != 0)
             || (!string_to_sid(&sid, argv[0]))
             || (sid.num_auths != 4)) {
-               d_printf(_("usage:")," net setdomainsid S-1-5-21-x-y-z\n");
+               d_printf(_("Usage:")," net setdomainsid S-1-5-21-x-y-z\n");
                return 1;
        }
 
@@ -315,7 +315,7 @@ static int net_getdomainsid(struct net_context *c, int argc, const char **argv)
        fstring sid_str;
 
        if (argc > 0) {
-               d_printf(_("usage:")," net getdomainsid\n");
+               d_printf(_("Usage:")," net getdomainsid\n");
                return 1;
        }
 
@@ -399,7 +399,7 @@ static int net_maxrid(struct net_context *c, int argc, const char **argv)
        uint32 rid;
 
        if (argc != 0) {
-               d_fprintf(stderr, _("usage:")," net maxrid\n");
+               d_fprintf(stderr, _("Usage:")," net maxrid\n");
                return 1;
        }
 
index 1d17348b4563c34a4976fe79b0575bd3e6ec9461..6aea513300bd970cd283d65c9e1c1a51d413e352 100644 (file)
@@ -35,7 +35,7 @@ int net_afs_key(struct net_context *c, int argc, const char **argv)
        struct afs_keyfile keyfile;
 
        if (argc != 2) {
-               d_printf(_("usage:")," net afs key <keyfile> cell\n");
+               d_printf(_("Usage:")," net afs key <keyfile> cell\n");
                return -1;
        }
 
index 9a83b46212ae4ce9f5df6566c7c97bed895c52a5..74c72a5292d5e018b03da22aed97a875dd8235e5 100644 (file)
@@ -94,7 +94,7 @@ 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;
 }
 
index 2cbb82f92857bd21903803201ca6865cc145306d..99ecd43c2a86368ac6f6e0712deffaf1a013e31e 100644 (file)
@@ -43,7 +43,7 @@ static int net_eventlog_dump(struct net_context *c, int argc,
        char *s;
 
        if (argc < 1 || c->display_usage) {
-               d_fprintf(stderr, _("usage:")," net eventlog dump <file.evt>\n");
+               d_fprintf(stderr, _("Usage:")," net eventlog dump <file.evt>\n");
                goto done;
        }
 
@@ -99,7 +99,7 @@ static int net_eventlog_import(struct net_context *c, int argc,
 
        if (argc < 2 || c->display_usage) {
                d_fprintf(stderr,
-                         _("usage:")," net eventlog import <file> <eventlog>\n");
+                         _("Usage:")," net eventlog import <file> <eventlog>\n");
                goto done;
        }
 
@@ -194,7 +194,7 @@ static int net_eventlog_export(struct net_context *c, int argc,
 
        if (argc < 2 || c->display_usage) {
                d_fprintf(stderr,
-                         _("usage:")," net eventlog export <file> <eventlog>\n");
+                         _("Usage:")," net eventlog export <file> <eventlog>\n");
                goto done;
        }
 
index 01b25da48e5a53826c79c46acb7c9270615a730a..d17dab150dd6137c4ddb7849baf84e41eb0bbc1e 100644 (file)
@@ -192,7 +192,7 @@ static int net_groupmap_add(struct net_context *c, int argc, const char **argv)
        name_type = "domain group";
 
        if (c->display_usage) {
-               d_printf(_("Usage\n"),"%s\n", add_usage_str);
+               d_printf(_("Usage:\n"),"%s\n", add_usage_str);
                return 0;
        }
 
index 7ad655bd4ecc292611793073e2adf8e0491f6638..d1400db5536893de16a3b97715b80e0ea9a0b9a2 100644 (file)
@@ -337,7 +337,7 @@ static int net_idmap_aclmapset(struct net_context *c, int argc, const char **arg
        NTSTATUS status;
 
        if (argc != 3 || c->display_usage) {
-               d_fprintf(stderr, _("usage:")," net idmap aclmapset <tdb> "
+               d_fprintf(stderr, _("Usage:")," net idmap aclmapset <tdb> "
                                    "<src-sid> <dst-sid>\n");
                return -1;
        }
index 9d953f3e24a50001d0e3d15ab87f4925f967e090..3958d2165d1dba3c3cad64cd6f567c055357dda8 100644 (file)
@@ -276,7 +276,7 @@ static int net_registry_getvalue_internal(struct net_context *c, int argc,
        TALLOC_CTX *ctx = talloc_stackframe();
 
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry getvalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry getvalue <key> "
                                    "<valuename>\n"));
                goto done;
        }
@@ -325,7 +325,7 @@ static int net_registry_setvalue(struct net_context *c, int argc,
        TALLOC_CTX *ctx = talloc_stackframe();
 
        if (argc < 4 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry setvalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry setvalue <key> "
                          "<valuename> <type> [<val>]+\n"));
                goto done;
        }
@@ -380,7 +380,7 @@ static int net_registry_deletevalue(struct net_context *c, int argc,
        int ret = -1;
 
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry deletevalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry deletevalue <key> "
                          "<valuename>\n"));
                goto done;
        }
index 5df279e95ab2a0bface3ebb69a903c4542ccf9f9..654b7af97b317a225a174e71302956e4af29be7b 100644 (file)
@@ -1033,7 +1033,7 @@ static NTSTATUS rpc_sh_handle_user(struct net_context *c,
        enum lsa_SidType type;
 
        if (argc == 0) {
-               d_fprintf(stderr, _("usage:")," %s <username>\n"), ctx->whoami;
+               d_fprintf(stderr, _("Usage:")," %s <username>\n"), ctx->whoami;
                return NT_STATUS_INVALID_PARAMETER;
        }
 
@@ -1114,7 +1114,7 @@ static NTSTATUS rpc_sh_user_show_internals(struct net_context *c,
        union samr_UserInfo *info = NULL;
 
        if (argc != 0) {
-               d_fprintf(stderr, _("usage:")," %s show <username>\n"),ctx->whoami;
+               d_fprintf(stderr, _("Usage:")," %s show <username>\n"),ctx->whoami;
                return NT_STATUS_INVALID_PARAMETER;
        }
 
@@ -1167,7 +1167,7 @@ static NTSTATUS rpc_sh_user_str_edit_internals(struct net_context *c,
        union samr_UserInfo *info = NULL;
 
        if (argc > 1) {
-               d_fprintf(stderr, _("usage:")," %s <username> [new value|NULL]\n",
+               d_fprintf(stderr, _("Usage:")," %s <username> [new value|NULL]\n",
                          ctx->whoami);
                return NT_STATUS_INVALID_PARAMETER;
        }
@@ -1258,7 +1258,7 @@ static NTSTATUS rpc_sh_user_flag_edit_internals(struct net_context *c,
             !strequal(argv[0], "no"))) {
                /* TRANSATORS: The yes|no here are program keywords. Please do
                   not translate. */
-               d_fprintf(stderr, _("usage: %s <username> [yes|no]\n"),
+               d_fprintf(stderr, _("Usage: %s <username> [yes|no]\n"),
                          ctx->whoami);
                return NT_STATUS_INVALID_PARAMETER;
        }
@@ -3047,7 +3047,7 @@ static int rpc_share_list(struct net_context *c, int argc, const char **argv)
        uint32_t i, level = 1;
 
        if (c->display_usage) {
-               d_printf(_("Usage\n"),
+               d_printf(_("Usage:\n"),
                           "net rpc share list\n"
                           "    ",_("List shares on remote server\n"));
                return 0;
@@ -4686,7 +4686,7 @@ static NTSTATUS rpc_sh_share_add(struct net_context *c,
        struct SHARE_INFO_2 i2;
 
        if ((argc < 2) || (argc > 3)) {
-               d_fprintf(stderr, _("usage: %s <share> <path> [comment]\n"),
+               d_fprintf(stderr, _("Usage: %s <share> <path> [comment]\n"),
                          ctx->whoami);
                return NT_STATUS_INVALID_PARAMETER;
        }
@@ -4715,7 +4715,7 @@ static NTSTATUS rpc_sh_share_delete(struct net_context *c,
                                    int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage:")," %s <share>\n", ctx->whoami);
+               d_fprintf(stderr, _("Usage:")," %s <share>\n", ctx->whoami);
                return NT_STATUS_INVALID_PARAMETER;
        }
 
@@ -4733,7 +4733,7 @@ static NTSTATUS rpc_sh_share_info(struct net_context *c,
        NTSTATUS status;
 
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <share>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <share>\n"), ctx->whoami);
                return NT_STATUS_INVALID_PARAMETER;
        }
 
index dc3d54999c0c36ccb5eb95e722d97b92a5b35b8b..8fc22fbcfaa8ab59df5fe343cff17ad5203b4411 100644 (file)
@@ -471,7 +471,7 @@ static int rpc_registry_setvalue(struct net_context *c, int argc,
                                 const char **argv )
 {
        if (argc < 4 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry setvalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry setvalue <key> "
                          "<valuename> <type> [<val>]+\n"));
                return -1;
        }
@@ -524,7 +524,7 @@ static int rpc_registry_deletevalue(struct net_context *c, int argc,
                                    const char **argv )
 {
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry deletevalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry deletevalue <key> "
                          "<valuename>\n"));
                return -1;
        }
@@ -639,7 +639,7 @@ static int rpc_registry_getvalue(struct net_context *c, int argc,
                                 const char **argv)
 {
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry getvalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry getvalue <key> "
                          "<valuename>\n"));
                return -1;
        }
@@ -666,7 +666,7 @@ static int rpc_registry_getvalueraw(struct net_context *c, int argc,
                                    const char **argv)
 {
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net rpc registry getvalue <key> "
+               d_fprintf(stderr, _("Usage:"),_(" net rpc registry getvalue <key> "
                          "<valuename>\n"));
                return -1;
        }
@@ -740,7 +740,7 @@ static int rpc_registry_createkey(struct net_context *c, int argc,
 {
        if (argc != 1 || c->display_usage) {
                d_fprintf(stderr,
-                         _("usage:"),_(" net rpc registry createkey <key>\n"));
+                         _("Usage:"),_(" net rpc registry createkey <key>\n"));
                return -1;
        }
 
@@ -790,7 +790,7 @@ static int rpc_registry_deletekey(struct net_context *c, int argc, const char **
 {
        if (argc != 1 || c->display_usage) {
                d_fprintf(stderr,
-                         _("usage:"),_(" net rpc registry deletekey <key>\n"));
+                         _("Usage:"),_(" net rpc registry deletekey <key>\n"));
                return -1;
        }
 
index 2f0b0ea7647b6c637ff396194fa6ad8da918d8e3..4289c27183c08ab5aa023365335c4675b1906502 100644 (file)
@@ -155,7 +155,7 @@ static int account_show(struct net_context *c,
                        int argc, const char **argv)
 {
        if (argc != 0) {
-               d_fprintf(stderr, _("usage:")," %s\n"), ctx->whoami;
+               d_fprintf(stderr, _("Usage:")," %s\n"), ctx->whoami;
                return -1;
        }
 
@@ -226,7 +226,7 @@ static int account_set_badpw(struct net_context *c,
                             int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage:")," %s <count>\n"), ctx->whoami;
+               d_fprintf(stderr, _("Usage:")," %s <count>\n"), ctx->whoami;
                return -1;
        }
 
@@ -256,7 +256,7 @@ static int account_set_lockduration(struct net_context *c,
                                    int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <count>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <count>\n"), ctx->whoami);
                return -1;
        }
 
@@ -286,7 +286,7 @@ static int account_set_resetduration(struct net_context *c,
                                     int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <count>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <count>\n"), ctx->whoami);
                return -1;
        }
 
@@ -316,7 +316,7 @@ static int account_set_minpwage(struct net_context *c,
                                int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <count>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <count>\n"), ctx->whoami);
                return -1;
        }
 
@@ -346,7 +346,7 @@ static int account_set_maxpwage(struct net_context *c,
                                int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <count>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <count>\n"), ctx->whoami);
                return -1;
        }
 
@@ -376,7 +376,7 @@ static int account_set_minpwlen(struct net_context *c,
                                int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <count>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <count>\n"), ctx->whoami);
                return -1;
        }
 
@@ -406,7 +406,7 @@ static int account_set_pwhistlen(struct net_context *c,
                                 int argc, const char **argv)
 {
        if (argc != 1) {
-               d_fprintf(stderr, _("usage: %s <count>\n"), ctx->whoami);
+               d_fprintf(stderr, _("Usage: %s <count>\n"), ctx->whoami);
                return -1;
        }
 
index c3b328bae53f5676b018f1c70403dbba5ed0ca84..006d01e4226f167ffc66a06f180eac4450fe3820 100644 (file)
@@ -37,7 +37,7 @@ static int net_sam_userset(struct net_context *c, int argc, const char **argv,
        NTSTATUS status;
 
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam set %s <user> <value>\n"),
+               d_fprintf(stderr, _("Usage:"),_(" net sam set %s <user> <value>\n"),
                          field);
                return -1;
        }
@@ -142,7 +142,7 @@ static int net_sam_set_userflag(struct net_context *c, int argc,
        if ((argc != 2) || c->display_usage ||
            (!strequal(argv[1], "yes") &&
             !strequal(argv[1], "no"))) {
-               d_fprintf(stderr, _("usage:"),_(" net sam set %s <user> [yes|no]\n"),
+               d_fprintf(stderr, _("Usage:"),_(" net sam set %s <user> [yes|no]\n"),
                          field);
                return -1;
        }
@@ -234,7 +234,7 @@ static int net_sam_set_pwdmustchangenow(struct net_context *c, int argc,
            (!strequal(argv[1], "yes") &&
             !strequal(argv[1], "no"))) {
                d_fprintf(stderr,
-                         _("usage:"),_(" net sam set pwdmustchangenow <user> "
+                         _("Usage:"),_(" net sam set pwdmustchangenow <user> "
                            "[yes|no]\n"));
                return -1;
        }
@@ -297,7 +297,7 @@ static int net_sam_set_comment(struct net_context *c, int argc,
        NTSTATUS status;
 
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam set comment <name> "
+               d_fprintf(stderr, _("Usage:"),_(" net sam set comment <name> "
                          "<comment>\n"));
                return -1;
        }
@@ -461,7 +461,7 @@ static int net_sam_policy_set(struct net_context *c, int argc, const char **argv
        char *endptr;
 
         if (argc != 2 || c->display_usage) {
-                d_fprintf(stderr, _("usage:"),_(" net sam policy set "
+                d_fprintf(stderr, _("Usage:"),_(" net sam policy set "
                          "\"<account policy>\" <value> \n"));
                 return -1;
         }
@@ -527,7 +527,7 @@ static int net_sam_policy_show(struct net_context *c, int argc, const char **arg
         enum pdb_policy_type field;
 
         if (argc != 1 || c->display_usage) {
-                d_fprintf(stderr, _("usage:"),_(" net sam policy show"
+                d_fprintf(stderr, _("Usage:"),_(" net sam policy show"
                          " \"<account policy>\" \n"));
                 return -1;
         }
@@ -631,7 +631,7 @@ static int net_sam_rights_list(struct net_context *c, int argc,
        SE_PRIV mask;
 
        if (argc > 1 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),
+               d_fprintf(stderr, _("Usage:"),
                        _(" net sam rights list [privilege name]\n"));
                return -1;
        }
@@ -687,7 +687,7 @@ static int net_sam_rights_grant(struct net_context *c, int argc,
        int i;
 
        if (argc < 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam rights grant <name> "
+               d_fprintf(stderr, _("Usage:"),_(" net sam rights grant <name> "
                        "<rights> ...\n"));
                return -1;
        }
@@ -725,7 +725,7 @@ static int net_sam_rights_revoke(struct net_context *c, int argc,
        int i;
 
        if (argc < 2 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam rights revoke <name> "
+               d_fprintf(stderr, _("Usage:"),_(" net sam rights revoke <name> "
                        "<rights>\n"));
                return -1;
        }
@@ -852,7 +852,7 @@ static int net_sam_mapunixgroup(struct net_context *c, int argc, const char **ar
        struct group *grp;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam mapunixgroup <name>\n"));
+               d_fprintf(stderr, _("Usage:"),_(" net sam mapunixgroup <name>\n"));
                return -1;
        }
 
@@ -914,7 +914,7 @@ static int net_sam_unmapunixgroup(struct net_context *c, int argc, const char **
        struct group *grp;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam unmapunixgroup <name>\n"));
+               d_fprintf(stderr, _("Usage:"),_(" net sam unmapunixgroup <name>\n"));
                return -1;
        }
 
@@ -950,7 +950,7 @@ static int net_sam_createdomaingroup(struct net_context *c, int argc,
 
        if (argc != 1 || c->display_usage) {
                d_fprintf(stderr,
-                         _("usage:"),_(" net sam createdomaingroup <name>\n"));
+                         _("Usage:"),_(" net sam createdomaingroup <name>\n"));
                return -1;
        }
 
@@ -981,7 +981,7 @@ static int net_sam_deletedomaingroup(struct net_context *c, int argc,
        NTSTATUS status;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr,_("usage:"),_(" net sam deletelocalgroup <name>\n"));
+               d_fprintf(stderr,_("Usage:"),_(" net sam deletelocalgroup <name>\n"));
                return -1;
        }
 
@@ -1022,7 +1022,7 @@ static int net_sam_createlocalgroup(struct net_context *c, int argc, const char
        uint32 rid;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr,_("usage:"),_(" net sam createlocalgroup <name>\n"));
+               d_fprintf(stderr,_("Usage:"),_(" net sam createlocalgroup <name>\n"));
                return -1;
        }
 
@@ -1057,7 +1057,7 @@ static int net_sam_deletelocalgroup(struct net_context *c, int argc, const char
        NTSTATUS status;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr,_("usage:"),_(" net sam deletelocalgroup <name>\n"));
+               d_fprintf(stderr,_("Usage:"),_(" net sam deletelocalgroup <name>\n"));
                return -1;
        }
 
@@ -1100,7 +1100,7 @@ static int net_sam_createbuiltingroup(struct net_context *c, int argc, const cha
 
        if (argc != 1 || c->display_usage) {
                d_fprintf(stderr,
-                         _("usage:"),_(" net sam createbuiltingroup <name>\n"));
+                         _("Usage:"),_(" net sam createbuiltingroup <name>\n"));
                return -1;
        }
 
@@ -1152,7 +1152,7 @@ static int net_sam_addmem(struct net_context *c, int argc, const char **argv)
        NTSTATUS status;
 
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr,_("usage:"),_(" net sam addmem <group> <member>\n"));
+               d_fprintf(stderr,_("Usage:"),_(" net sam addmem <group> <member>\n"));
                return -1;
        }
 
@@ -1239,7 +1239,7 @@ static int net_sam_delmem(struct net_context *c, int argc, const char **argv)
        NTSTATUS status;
 
        if (argc != 2 || c->display_usage) {
-               d_fprintf(stderr,_("usage:"),_(" net sam delmem <group> <member>\n"));
+               d_fprintf(stderr,_("Usage:"),_(" net sam delmem <group> <member>\n"));
                return -1;
        }
 
@@ -1311,7 +1311,7 @@ static int net_sam_listmem(struct net_context *c, int argc, const char **argv)
        NTSTATUS status;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam listmem <group>\n"));
+               d_fprintf(stderr, _("Usage:"),_(" net sam listmem <group>\n"));
                return -1;
        }
 
@@ -1385,7 +1385,7 @@ static int net_sam_do_list(struct net_context *c, int argc, const char **argv,
 
        if ((argc > 1) || c->display_usage ||
            ((argc == 1) && !strequal(argv[0], "verbose"))) {
-               d_fprintf(stderr,_("usage:"),_(" net sam list %s [verbose]\n"), what);
+               d_fprintf(stderr,_("Usage:"),_(" net sam list %s [verbose]\n"), what);
                return -1;
        }
 
@@ -1518,7 +1518,7 @@ static int net_sam_show(struct net_context *c, int argc, const char **argv)
        const char *dom, *name;
 
        if (argc != 1 || c->display_usage) {
-               d_fprintf(stderr, _("usage:"),_(" net sam show <name>\n"));
+               d_fprintf(stderr, _("Usage:"),_(" net sam show <name>\n"));
                return -1;
        }