Skip to content

Commit

Permalink
Added a printout of version number. Version 1.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Shepperd committed Apr 26, 2024
1 parent c643378 commit a42f85e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtpip.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ static int help_new(void)
return 1;
}

static const char Version[] = "1.0.1";
/**
* Display help for global options.
* @param msg - pointer to string to display as prefix (NULL if none).
Expand All @@ -277,6 +278,7 @@ static int help_em(const char *msg)
{
printf("%s\n", msg);
}
printf("rtpip version %s\n", Version);
printf("Usage: rtpip [-dfFh?v][-l N] container cmd [cmdOpts] [file...]\n"
"where:\n"
" -d or --debug = set debug mode\n"
Expand Down

0 comments on commit a42f85e

Please sign in to comment.