fix arg parsing bug in echo with no arguments
This commit is contained in:
parent
a7cd9eb54b
commit
b59f8e8aea
@ -28,6 +28,7 @@ int main(int argc, char ** argv) {
|
||||
start = i;
|
||||
break;
|
||||
} else {
|
||||
start++;
|
||||
if (argv[i][1] == 'h') {
|
||||
usage();
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user