1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

net: The top level help function for net cmd is always net_cmd_usage

(This used to be commit f7d0903a58)
This commit is contained in:
Kai Blin
2008-05-15 10:14:41 +02:00
parent 89cd35d054
commit 0210f7af91
7 changed files with 37 additions and 55 deletions

View File

@ -27,7 +27,7 @@
#ifdef HAVE_ADS
int net_ads_usage(struct net_context *c, int argc, const char **argv)
int net_ads_help(struct net_context *c, int argc, const char **argv)
{
d_printf("join [createupn[=principal]] [createcomputer=<org_unit>]\n");
d_printf(" Join the local machine to a ADS realm\n");
@ -2163,7 +2163,7 @@ int net_ads_kerberos(struct net_context *c, int argc, const char **argv)
}
int net_ads_help(struct net_context *c, int argc, const char **argv)
int net_ads_usage(struct net_context *c, int argc, const char **argv)
{
struct functable func[] = {
{"USER", net_ads_user_usage},
@ -2180,7 +2180,7 @@ int net_ads_help(struct net_context *c, int argc, const char **argv)
{NULL, NULL}
};
return net_run_function(c, argc, argv, func, net_ads_usage);
return net_run_function(c, argc, argv, func, net_ads_help);
}
int net_ads(struct net_context *c, int argc, const char **argv)
@ -2209,7 +2209,7 @@ int net_ads(struct net_context *c, int argc, const char **argv)
{NULL, NULL}
};
return net_run_function(c, argc, argv, func, net_ads_usage);
return net_run_function(c, argc, argv, func, net_ads_help);
}
#else