summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-08-12 19:32:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:56 -0500
commitdaa7c984096fb3513a458a0637fdfc0c00ee9fb9 (patch)
tree90e1343a95bc90c9db8bb62491b9ef6558cdf14c /source4/utils
parent28ea8b8785e5e8e3b3f3ddf0c12c0c8c69ea77c5 (diff)
downloadsamba-daa7c984096fb3513a458a0637fdfc0c00ee9fb9.tar.gz
samba-daa7c984096fb3513a458a0637fdfc0c00ee9fb9.tar.bz2
samba-daa7c984096fb3513a458a0637fdfc0c00ee9fb9.zip
r1786: Add support for the 'helpstring' attribute on interfaces
(This used to be commit 85fb26a05d57e58795b0c0ffa93dc9e0fa902431)
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/ndrdump.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c
index 1b480c6c4d..ea8071e559 100644
--- a/source4/utils/ndrdump.c
+++ b/source4/utils/ndrdump.c
@@ -69,7 +69,11 @@ static void show_pipes(void)
printf("\nYou must specify a pipe\n");
printf("known pipes are:\n");
for (i=0;dcerpc_pipes[i];i++) {
- printf("\t%s\n", dcerpc_pipes[i]->name);
+ if(dcerpc_pipes[i]->helpstring) {
+ printf("\t%s - %s\n", dcerpc_pipes[i]->name, dcerpc_pipes[i]->helpstring);
+ } else {
+ printf("\t%s\n", dcerpc_pipes[i]->name);
+ }
}
exit(1);
}