Skip to content

Commit

Permalink
main.cc: correct a couple of small typos in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
wandrien committed May 3, 2023
1 parent adb18c6 commit 089eb82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static void showHelp(int exitval) {

// print program usage and command line options
printf(gettext(" -display <string>\t\tuse display connection.\n"
" -single <string>\t\tmanage the default screen only\n"
" -single <string>\t\tmanage the default screen only.\n"
" -rc <string>\t\t\tuse alternate resource file.\n"
" -version\t\t\tdisplay version and exit.\n"
" -help\t\t\t\tdisplay this help text and exit.\n\n"));
Expand Down Expand Up @@ -112,7 +112,7 @@ int main(int argc, char **argv) {
// look for alternative rc file to use

if ((++i) >= argc) {
fprintf(stderr, gettext("error: '-rc' requires and argument\n"));
fprintf(stderr, gettext("error: '-rc' requires an argument\n"));
::exit(1);
}

Expand Down

0 comments on commit 089eb82

Please sign in to comment.