Browse Source

The command with params is resolvable command

git-svn-id: https://klish.googlecode.com/svn/trunk@466 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 years ago
parent
commit
d02b13bfee
1 changed files with 1 additions and 0 deletions
  1. 1 0
      clish/view/view.c

+ 1 - 0
clish/view/view.c

@@ -190,6 +190,7 @@ clish_command_t *clish_view_resolve_command(clish_view_t *this,
 		if (!clish_action__get_script(action) &&
 			(!clish_action__get_builtin(action)) &&
 			(CLISH_CONFIG_NONE == clish_config__get_op(config)) &&
+			(!clish_command__get_param_count(result)) &&
 			(!clish_command__get_view(result))) {
 			/* if this doesn't do anything we've
 			 * not resolved a command