summaryrefslogtreecommitdiff
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2016-09-22 14:47:57 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2016-09-22 14:47:57 +0100
commitc92ba05933a640c0084321bc6eeaa091c283b8bb (patch)
tree72cdcdec5d50586a244ba8743356d3fd2ecb1b4c /cmds-subvolume.c
parent249a3592d5dfdec0e52b5e9e712339364ea758ed (diff)
New upstream release.
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r--cmds-subvolume.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index e7ef67d3..b3f7cbcb 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -128,7 +128,7 @@ static int cmd_subvol_create(int argc, char **argv)
DIR *dirstream = NULL;
while (1) {
- int c = getopt(argc, argv, "c:i:v");
+ int c = getopt(argc, argv, "c:i:");
if (c < 0)
break;
@@ -245,6 +245,7 @@ static const char * const cmd_subvol_delete_usage[] = {
"",
"-c|--commit-after wait for transaction commit at the end of the operation",
"-C|--commit-each wait for transaction commit after deleting each subvolume",
+ "-v|--verbose verbose output of operations",
NULL
};
@@ -267,10 +268,11 @@ static int cmd_subvol_delete(int argc, char **argv)
static const struct option long_options[] = {
{"commit-after", no_argument, NULL, 'c'}, /* commit mode 1 */
{"commit-each", no_argument, NULL, 'C'}, /* commit mode 2 */
+ {"verbose", no_argument, NULL, 'v'},
{NULL, 0, NULL, 0}
};
- c = getopt_long(argc, argv, "cC", long_options, NULL);
+ c = getopt_long(argc, argv, "cCv", long_options, NULL);
if (c < 0)
break;