[Important] Extend main README. Write some more man entries.

This commit is contained in:
Enrico Fraccaroli
2022-12-12 22:21:39 -05:00
parent de9daa4a85
commit 45376a2bb3
10 changed files with 94 additions and 50 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ int main(int argc, char **argv)
}
// Check if `--help` is provided.
for (int i = 1; i < argc; ++i) {
if (strcmp(argv[i], "--help") == 0) {
if ((strcmp(argv[i], "--help") == 0) || (strcmp(argv[i], "-h") == 0)) {
printf("Prints the content of the given file.\n");
printf("Usage:\n");
printf(" cat <file>\n\n");