From 2ae37c408c7d6e43455ccd11c0d50d0eea18c235 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Jun 23 2020 14:48:22 +0000 Subject: countme-update-rawdb.sh: handle --start, --all This commit adds `--start` and `--all` to the `getopt` invocation - they were listed in the help text and handled in the code, but I forgot to add them here so the CLI would actually accept them. Fixed. Now you can manually do partial rawdb runs if needed! Like, say, if you lost the rawdb during a colo move, but you still have the totalsdb from before the move, and you just want to parse the logs since the move... --- diff --git a/countme-update-rawdb.sh b/countme-update-rawdb.sh index 7904d48..735054f 100755 --- a/countme-update-rawdb.sh +++ b/countme-update-rawdb.sh @@ -121,7 +121,7 @@ PROGRESS="" PARSECMD_ARGS=() options=$(getopt -o hvn \ - --long help,verbose,dryrun,progress,logdir:,logfmt:,rawdb: \ + --long help,verbose,dryrun,progress,logdir:,logfmt:,rawdb:,all,start: \ -- "$@" \ ) eval set -- "$options"