mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
lvconvert: don't show aliases in error output
We want to consistently use the standard command form. The aliases are now mentioned in the man page for reference.
This commit is contained in:
parent
5cd39f1dc4
commit
39921284a0
@ -4078,7 +4078,7 @@ static int _convert_thin_pool(struct cmd_context *cmd, struct logical_volume *lv
|
||||
log_error("Operations permitted on a thin pool LV are:\n"
|
||||
" --splitcache (operates on cache sub LV)\n"
|
||||
" --uncache (operates on cache sub LV)\n"
|
||||
" --type cache | --cache (operates on data sub LV)\n"
|
||||
" --type cache (operates on data sub LV)\n"
|
||||
" --repair\n");
|
||||
return 0;
|
||||
}
|
||||
@ -4255,9 +4255,9 @@ static int _convert_raid(struct cmd_context *cmd, struct logical_volume *lv,
|
||||
" --merge\n"
|
||||
" --repair\n"
|
||||
" --replace\n"
|
||||
" --type snapshot | --snapshot\n"
|
||||
" --type thin | --thin\n"
|
||||
" --type cache | --cache\n"
|
||||
" --type snapshot\n"
|
||||
" --type thin\n"
|
||||
" --type cache\n"
|
||||
" --type thin-pool\n"
|
||||
" --type cache-pool\n"
|
||||
" --type raid*\n"
|
||||
@ -4316,13 +4316,13 @@ static int _convert_striped(struct cmd_context *cmd, struct logical_volume *lv,
|
||||
log_error("Operation not permitted on striped or linear LV %s", display_lvname(lv));
|
||||
log_error("Operations permitted on a striped or linear LV are:\n"
|
||||
" --merge\n"
|
||||
" --type snapshot | --snapshot\n"
|
||||
" --type thin | --thin\n"
|
||||
" --type cache | --cache\n"
|
||||
" --type snapshot\n"
|
||||
" --type thin\n"
|
||||
" --type cache\n"
|
||||
" --type thin-pool\n"
|
||||
" --type cache-pool\n"
|
||||
" --type mirror | --mirrors\n"
|
||||
" --type raid* | --mirrors\n");
|
||||
" --type mirror\n"
|
||||
" --type raid*\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user