Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 18:27:43 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337918 - head/sbin/bectl
Message-ID:  <201808161827.w7GIRhCb039895@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Thu Aug 16 18:27:43 2018
New Revision: 337918
URL: https://svnweb.freebsd.org/changeset/base/337918

Log:
  bectl(8): Kit-kat bar

Modified:
  head/sbin/bectl/bectl.c

Modified: head/sbin/bectl/bectl.c
==============================================================================
--- head/sbin/bectl/bectl.c	Thu Aug 16 18:26:43 2018	(r337917)
+++ head/sbin/bectl/bectl.c	Thu Aug 16 18:27:43 2018	(r337918)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808161827.w7GIRhCb039895>