Fixed -r option. Added test to make sure it doesn't break later.

This commit is contained in:
Aaron Traas 2017-07-02 01:36:28 -04:00
parent 70838f7001
commit be115e9567
3 changed files with 12 additions and 1 deletions

2
main.c
View file

@ -61,7 +61,7 @@ int main(int argc, char *argv[])
/* Options. */
#ifndef ADVENT_NOSAVE
const char* opts = "l:or";
const char* opts = "l:or:";
const char* usage = "Usage: %s [-l logfilename] [-o] [-r restorefilename]\n";
#else
const char* opts = "l:o";