1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

cleanup: use y/n instead of y|n

Use same for of yes no query everywhere.
This commit is contained in:
Zdenek Kabelac 2014-05-22 11:57:51 +02:00
parent 1c4fe47308
commit 496953fb39
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ A status code of 1 is used for other failures.
Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes.
If /dev/vg/test contains ext2/ext3/ext4
filesystem it will be unmounted prior the resize.
All [y|n] questions will be answered 'y'.
All [y/n] questions will be answered 'y'.
.sp
.B fsadm \-e \-y resize /dev/vg/test 1000M
.SH ENVIRONMENT VARIABLES

View File

@ -2721,7 +2721,7 @@ static int _lvconvert_to_pool(struct cmd_context *cmd,
log_warn("THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)");
if (!lp->yes &&
yes_no_prompt("Do you really want to convert \"%s/%s\"? [y|n]: ",
yes_no_prompt("Do you really want to convert \"%s/%s\"? [y/n]: ",
pool_lv->vg->name, pool_lv->name) == 'n') {
log_error("Conversion aborted.");
return 0;
@ -2839,7 +2839,7 @@ static int _lvconvert_to_pool(struct cmd_context *cmd,
log_warn("THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)");
if (!lp->yes &&
yes_no_prompt("Do you really want to convert \"%s/%s\"? [y|n]: ",
yes_no_prompt("Do you really want to convert \"%s/%s\"? [y/n]: ",
metadata_lv->vg->name, metadata_lv->name) == 'n') {
log_error("Conversion aborted.");
return 0;