summaryrefslogtreecommitdiff
path: root/tools/skrewt.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2013-02-24 17:09:27 -0800
committerJohn Denker <jsd@av8n.com>2013-02-24 17:09:27 -0800
commit77e1cbc7a8dd5a9a79d67f7f9f54cfb361607240 (patch)
treeb44e8d9c3f191c149e6759b35d3a547a2474d42b /tools/skrewt.c
parentfcf49eff655296c9f6c19bd262e343e69138ce67 (diff)
add -note nnnn" feature
Diffstat (limited to 'tools/skrewt.c')
-rw-r--r--tools/skrewt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/skrewt.c b/tools/skrewt.c
index f7dd83b..cd2144f 100644
--- a/tools/skrewt.c
+++ b/tools/skrewt.c
@@ -29,6 +29,7 @@ void usage(const int sts){
" -help print this msg (and exit immediately).\n"
" -maxsize ii msg size in bytes; anything bigger will be rejected.\n"
" -strict exit early if errors have been detected.\n"
+" -note nnnn annotate logfile entries.\n"
"\n"
" Messages containing the string '-please-bounce-this-' will be rejected.\n"
" Messages with no date will be rejected.\n"
@@ -117,6 +118,7 @@ int main(int _argc, const char** _argv){
catch (int) {
exit(ex_usage);
}
+ progid += mysk.note;
int rslt = mysk.headers(cin);
if (rslt) return rslt;