return true;
}
-/* show sequence numbers */
-static bool wbinfo_show_sequence(const char *domain)
-{
- d_printf("This command has been deprecated. Please use the "
- "--online-status option instead.\n");
- return false;
-}
-
/* show sequence numbers */
static bool wbinfo_show_onlinestatus(const char *domain)
{
OPT_SET_AUTH_USER = 1000,
OPT_GET_AUTH_USER,
OPT_DOMAIN_NAME,
- OPT_SEQUENCE,
OPT_GETDCNAME,
OPT_DSGETDCNAME,
OPT_DC_INFO,
.val = OPT_LIST_OWN_DOMAIN,
.descrip = "List own domain",
},
- {
- .longName = "sequence",
- .argInfo = POPT_ARG_NONE,
- .val = OPT_SEQUENCE,
- .descrip = "Deprecated command, see --online-status",
- },
{
.longName = "online-status",
.argInfo = POPT_ARG_NONE,
goto done;
}
break;
- case OPT_SEQUENCE:
- if (!wbinfo_show_sequence(opt_domain_name)) {
- d_fprintf(stderr,
- "Could not show sequence numbers\n");
- goto done;
- }
- break;
case OPT_ONLINESTATUS:
if (!wbinfo_show_onlinestatus(opt_domain_name)) {
d_fprintf(stderr,