Minor fix on main.c

This commit is contained in:
Ricardo
2022-05-28 00:40:51 +00:00
parent e01c1630b0
commit 8cd98516be
3 changed files with 8 additions and 2 deletions

View File

@@ -2,3 +2,9 @@
Invert character by character given text file content Invert character by character given text file content
Usage: ./inverT-i [<some.text.file>]
-help Print help and exit.
-v Print application version and exit.
-i Invert text caracters.
Example: ./inverT -i test.txt\n"

BIN
inverT

Binary file not shown.

4
main.c
View File

@@ -19,11 +19,11 @@ struct parameters info = {
// Below is the variable that olds the text to dislpay for help // Below is the variable that olds the text to dislpay for help
.help = "\n\ .help = "\n\
------------------------------------------------\n\ ------------------------------------------------\n\
Usage: ./chcount -c [<some.text.file>]\n\ Usage: ./inverT -i [<some.text.file>]\n\
-help Print help and exit.\n\ -help Print help and exit.\n\
-v Print application version and exit.\n\ -v Print application version and exit.\n\
-i Invert text caracters.\n\ -i Invert text caracters.\n\
Example: ./chcount -c test.txt\n", Example: ./inverT -i test.txt\n",
}; };