projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'u-boot-arm/next' into 'u-boot-arm/master'
[platform/kernel/u-boot.git]
/
common
/
command.c
diff --git
a/common/command.c
b/common/command.c
index
625571d
..
597ab4c
100644
(file)
--- a/
common/command.c
+++ b/
common/command.c
@@
-184,10
+184,10
@@
static int complete_cmdv(int argc, char * const argv[], char last_char, int maxv
/* output full list of commands */
for (; cmdtp != cmdend; cmdtp++) {
if (n_found >= maxv - 2) {
/* output full list of commands */
for (; cmdtp != cmdend; cmdtp++) {
if (n_found >= maxv - 2) {
- cmdv[n_found] = "...";
+ cmdv[n_found
++
] = "...";
break;
}
break;
}
- cmdv[n_found] = cmdtp->name;
+ cmdv[n_found
++
] = cmdtp->name;
}
cmdv[n_found] = NULL;
return n_found;
}
cmdv[n_found] = NULL;
return n_found;