From 16f64ae6d6a9ea0ec14ec124c097787ccb320864 Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Wed, 16 Feb 2005 21:50:38 +0000 Subject: r5423: Change function table structure to allow short description of command groups. Also give up help function pointer in the structure since it's needed only in leaf nodes of command tree, and leaf nodes decide about help on their own. Usage function is still available on all levels. rafal (This used to be commit 48568959a86ee60c188b84078eb3872b8e185b6c) --- source4/utils/net/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/utils') diff --git a/source4/utils/net/net.h b/source4/utils/net/net.h index ba8294c144..2967063bde 100644 --- a/source4/utils/net/net.h +++ b/source4/utils/net/net.h @@ -33,9 +33,9 @@ struct net_context { struct net_functable { const char *name; + const char *desc; int (*fn)(struct net_context *ctx, int argc, const char **argv); int (*usage)(struct net_context *ctx, int argc, const char **argv); - int (*help)(struct net_context *ctx, int argc, const char **argv); }; #endif /* _UTIL_NET_H */ -- cgit