]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/command.c
cmd_usage(): simplify return code handling
[people/ms/u-boot.git] / common / command.c
index a1fc592c2472257aa6ac7530e873696ad89e20b4..30a9801d9f5e7aca5c64a1fab0ed2a4623499ca7 100644 (file)
@@ -153,7 +153,7 @@ int cmd_usage(cmd_tbl_t *cmdtp)
        puts (cmdtp->help);
        putc ('\n');
 #endif /* CONFIG_SYS_LONGHELP */
-       return 0;
+       return 1;
 }
 
 #ifdef CONFIG_AUTO_COMPLETE