Fixat några småfel i hjälptexten

This commit is contained in:
2019-03-17 22:25:20 +01:00
parent 3a6005c79c
commit 8a12e590b0

View File

@@ -335,11 +335,11 @@ int new(struct myData *datap, int numRec)
void printUsage(char *arg) void printUsage(char *arg)
{ {
fprintf(stderr, "Usage: %s [-l] [-s name]" fprintf(stderr, "Usage: %s [-l] [-s name] "
"[-m name \n" "[-m name] \n"
"[-d name] [-n] [-h]\n\n" "[-d name] [-n] [-h]\n\n"
"-l = list the articles in the database\n" "-l = list the articles in the database\n"
"-s name = search for an 'name' in the database\n" "-s name = search for an article named 'name' in the database\n"
"-m name = modify the article named 'name' in the database\n" "-m name = modify the article named 'name' in the database\n"
" You'll then have the choice to change name, quantity " " You'll then have the choice to change name, quantity "
"and price.\n" "and price.\n"