r5413: enable standard samba command line options in ndrdump (so -d works)
authorAndrew Tridgell <tridge@samba.org>
Wed, 16 Feb 2005 06:55:24 +0000 (06:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:10:43 +0000 (13:10 -0500)
(This used to be commit 6f9eb74ef8536004d08ffd01ad41622b83526af6)

source4/utils/ndrdump.c

index f7706c7d64352b9a2c12272f609f962ffd9814a4..bad74c061e624e0334b2c0452eed39c08429658e 100644 (file)
@@ -89,6 +89,7 @@ static void show_functions(const struct dcerpc_interface_table *p)
        struct ndr_print *pr;
        struct poptOption long_options[] = {
                {"context-file", 'c', POPT_ARG_STRING, &ctx_filename, 0, "In-filename to parse first", "CTX-FILE" },
+               POPT_COMMON_SAMBA
                POPT_AUTOHELP
                POPT_TABLEEND
        };