aboutsummaryrefslogtreecommitdiff
path: root/slowbaud.c
diff options
context:
space:
mode:
Diffstat (limited to 'slowbaud.c')
-rw-r--r--slowbaud.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/slowbaud.c b/slowbaud.c
index 2cfb138..92cea21 100644
--- a/slowbaud.c
+++ b/slowbaud.c
@@ -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);