[PATCH 1/5] s4: Uniformise net help output between python and builtin functions
Matthieu Patou
mat at matws.net
Fri Jan 8 09:37:34 MST 2010
---
source4/utils/net/net.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index 2d45a4b..9119273 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -190,14 +190,14 @@ int net_run_usage(struct net_context *ctx,
/* main function table */
static const struct net_functable net_functable[] = {
- {"password", "change password\n", net_password, net_password_usage},
- {"time", "get remote server's time\n", net_time, net_time_usage},
- {"join", "join a domain\n", net_join, net_join_usage},
- {"samdump", "dump the sam of a domain\n", net_samdump, net_samdump_usage},
- {"export", "dump the sam of this domain\n", net_export, net_export_usage},
- {"vampire", "join and syncronise an AD domain onto the local server\n", net_vampire, net_vampire_usage},
- {"samsync", "synchronise into the local ldb the sam of an NT4 domain\n", net_samsync_ldb, net_samsync_ldb_usage},
- {"user", "manage user accounts\n", net_user, net_user_usage},
+ {"password", "Change password\n", net_password, net_password_usage},
+ {"time", "Get remote server's time\n", net_time, net_time_usage},
+ {"join", "Join a domain\n", net_join, net_join_usage},
+ {"samdump", "Dump the sam of a domain\n", net_samdump, net_samdump_usage},
+ {"export", "Dump the sam of this domain\n", net_export, net_export_usage},
+ {"vampire", "Join and syncronise an AD domain onto the local server\n", net_vampire, net_vampire_usage},
+ {"samsync", "Synchronise into the local ldb the sam of an NT4 domain\n", net_samsync_ldb, net_samsync_ldb_usage},
+ {"user", "Manage user accounts\n", net_user, net_user_usage},
{"machinepw", "Get a machine password out of our SAM\n", net_machinepw, net_machinepw_usage},
{NULL, NULL, NULL, NULL}
};
--
1.6.3.3
--------------050508060406060009090606
Content-Type: text/x-patch;
name="0005-s4-improve-net-docs.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="0005-s4-improve-net-docs.patch"
More information about the samba-technical
mailing list