Hi there,
i started today testing and reviewing the code of reactos because i want
to contribute (and i am really fascinated).
Now i looked at the hostname function in
ReactOS/base/applications/cmdutils/hostname/.
If argc is more than 1 (so if there is given a parameter) the output is
/Print the current host's name.\n\nhostname\n
/But maybe it could be changed in:
/
Usage: hostname
use this application without any parameter./
}else{
if (0 == strcmp(argv[1],"-s"))
{
fprintf(stderr,"%s: -s not supported.\n",argv[0]);
return EXIT_FAILURE;
}else{
printf("\nUsage: hostname\n\nuse this application without
any parameter\n"); //here i had to change.
}
}
Or would this be a bad idea?
Kind regards