diff options
author | June McEnroe <june@causal.agency> | 2019-10-28 19:21:44 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-28 19:21:44 -0400 |
commit | 8b70aa21da96d9dcad641c3fe2787307d5610036 (patch) | |
tree | bf2e42559dcaf7fec495a0f47a4ff0470e0b7eb8 /pounce.1 | |
parent | Use "producer/consumer" consistently in ring code (diff) | |
download | pounce-8b70aa21da96d9dcad641c3fe2787307d5610036.tar.gz pounce-8b70aa21da96d9dcad641c3fe2787307d5610036.zip |
Add option to save and load ring contents across restarts
Diffstat (limited to 'pounce.1')
-rw-r--r-- | pounce.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pounce.1 b/pounce.1 index 41555ed..632ca3e 100644 --- a/pounce.1 +++ b/pounce.1 @@ -17,6 +17,7 @@ .Op Fl Q Ar quit .Op Fl W Ar pass .Op Fl a Ar auth +.Op Fl f Ar file .Op Fl h Ar host .Op Fl j Ar chan .Op Fl n Ar nick @@ -108,6 +109,15 @@ Set to the first line read from .Ar file . . +.It Fl f Ar file +Load the contents of the ring buffer from +.Ar file +if it exists. +The file is then truncated. +On shutdown, +save the contents of the ring buffer to +.Ar file . +. .It Fl h Ar host Connect to .Ar host . |