wbinfo: Document the deprecated sequence option correctly.
authorAndreas Schneider <asn@samba.org>
Wed, 23 Jun 2010 08:58:37 +0000 (10:58 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 23 Jun 2010 09:01:58 +0000 (11:01 +0200)
I didn't find a way in popt to hide it.

nsswitch/wbinfo.c

index 3c1db8bf03d151091b481dbc8404092728b18e50..a277ede75bb6de0e0307dd75e6246ff6e38190d3 100644 (file)
@@ -2001,7 +2001,7 @@ int main(int argc, char **argv, char **envp)
                { "trusted-domains", 'm', POPT_ARG_NONE, 0, 'm', "List trusted domains" },
                { "all-domains", 0, POPT_ARG_NONE, 0, OPT_LIST_ALL_DOMAINS, "List all domains (trusted and own domain)" },
                { "own-domain", 0, POPT_ARG_NONE, 0, OPT_LIST_OWN_DOMAIN, "List own domain" },
-               { "sequence", 0, POPT_ARG_NONE, 0, OPT_SEQUENCE, "Show sequence numbers of all domains" },
+               { "sequence", 0, POPT_ARG_NONE, 0, OPT_SEQUENCE, "Deprecated command, see --online-status" },
                { "online-status", 0, POPT_ARG_NONE, 0, OPT_ONLINESTATUS, "Show whether domains are marked as online or offline"},
                { "domain-info", 'D', POPT_ARG_STRING, &string_arg, 'D', "Show most of the info we have about the domain" },
                { "user-info", 'i', POPT_ARG_STRING, &string_arg, 'i', "Get user info", "USER" },