]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/command.c
New implementation for internal handling of environment variables.
[karo-tx-uboot.git] / common / command.c
index a1fc592c2472257aa6ac7530e873696ad89e20b4..72266c326edd16232dad6f6353d9d252f7674052 100644 (file)
@@ -153,13 +153,14 @@ int cmd_usage(cmd_tbl_t *cmdtp)
        puts (cmdtp->help);
        putc ('\n');
 #endif /* CONFIG_SYS_LONGHELP */
-       return 0;
+       return 1;
 }
 
 #ifdef CONFIG_AUTO_COMPLETE
 
 int var_complete(int argc, char * const argv[], char last_char, int maxv, char *cmdv[])
 {
+#if 0 /* need to reimplement */
        static char tmp_buf[512];
        int space;
 
@@ -170,7 +171,7 @@ int var_complete(int argc, char * const argv[], char last_char, int maxv, char *
 
        if (!space && argc == 2)
                return env_complete(argv[1], maxv, cmdv, sizeof(tmp_buf), tmp_buf);
-
+#endif
        return 0;
 }