diff options
-rw-r--r-- | slowbaud.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,7 @@ /* Simulate low bitrate serial connection, like a 1980s modem. Author: B. Watson. License: WTFPL. */ +#define VERSION "0.1.0" /* configurables: */ #define FRACTIONAL_USEC @@ -264,6 +265,7 @@ void benchmark(char **args) { } void usage(int exitstat) { + printf("slowbaud " VERSION ", (c) 2021 B. Watson, WTFPL.\n"); printf("Usage: %s [<bits-per-sec>] [<file> [<file> ...]]\n", self); printf(" With no filenames, reads stdin.\n"); printf("or: %s [<bits-per-sec>] -c [<command> [<arg> ...]]\n", self); |