bectl(8): Kit-kat bar

This commit is contained in:
kevans 2018-08-16 18:27:43 +00:00
parent 2018f9b4db
commit 4cdb717ea7

View File

@ -188,13 +188,14 @@ bectl_cmd_create(int argc, char *argv[])
snapname = NULL;
recursive = false;
while ((opt = getopt(argc, argv, "re:")) != -1) {
while ((opt = getopt(argc, argv, "e:r")) != -1) {
switch (opt) {
case 'e':
snapname = optarg;
break;
case 'r':
recursive = true;
break;
default:
fprintf(stderr, "bectl create: unknown option '-%c'\n",
optopt);