This correction might be useful for those who want to parse the output.
Also add a small comment in stapsh.c to clarify the STAPSH_MAX_ARGS
comparison.
.TP
.BI \-\-remote\-prefix
-Prefix each line of remote output with "N:", where N is the index of the remote
+Prefix each line of remote output with "N: ", where N is the index of the remote
execution target from which the given line originated.
.TP
char* arg;
while ((arg = strtok(NULL, STAPSH_TOK_DELIM)))
{
+ // check if we have space left
+ // note that we have to keep at least one 0 at the end for posix_spawn
if (nargs + 1 > STAPSH_MAX_ARGS)
return reply ("ERROR: too many arguments\n");
if (qpdecode(arg) != 0)