* mu-cmd: remove help command for now

This commit is contained in:
Dirk-Jan C. Binnema 2010-01-03 23:49:45 +02:00
parent 2184e1e83f
commit 5fad1f2dd7
1 changed files with 7 additions and 5 deletions

View File

@ -54,9 +54,9 @@ _cmd_from_string (const char* cmd)
if (strcmp (cmd, "link") == 0) if (strcmp (cmd, "link") == 0)
return MU_CMD_LINK; return MU_CMD_LINK;
if ((strcmp (cmd, "help") == 0) || /* if ((strcmp (cmd, "help") == 0) || */
(strcmp (cmd, "info") == 0)) /* (strcmp (cmd, "info") == 0)) */
return MU_CMD_HELP; /* return MU_CMD_HELP; */
return MU_CMD_UNKNOWN; return MU_CMD_UNKNOWN;
} }
@ -125,6 +125,8 @@ _sort_field_from_string (const char* fieldstr)
} }
static gboolean static gboolean
_print_rows (MuQueryXapian *xapian, const gchar *query, MuConfigOptions *opts) _print_rows (MuQueryXapian *xapian, const gchar *query, MuConfigOptions *opts)
{ {
@ -428,8 +430,8 @@ _show_usage (gboolean noerror)
{ {
const char* usage= const char* usage=
"usage: mu [options] command [parameters]\n" "usage: mu [options] command [parameters]\n"
"\twhere command is one of index, query, help\n" "\twhere command is one of index, find, mkdir, link\n"
"see mu(1) for for information\n"; "see mu(1) for more information\n";
if (noerror) if (noerror)
g_print ("%s", usage); g_print ("%s", usage);