* add warning for using --xquery

This commit is contained in:
Dirk-Jan C. Binnema
2011-01-06 16:34:21 +02:00
parent 5e0cfdca57
commit f6de417117
3 changed files with 10 additions and 2 deletions

View File

@ -206,6 +206,11 @@ query_params_valid (MuConfig *opts)
return FALSE;
}
if (opts->xquery) {
g_warning ("--xquery is obsolete; use --format=xquery instead");
return FALSE;
}
if (format == FORMAT_LINKS && !opts->linksdir) {
g_warning ("missing --linksdir argument");
return FALSE;