mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: tools: "or use -S for selection" --> "or use --select for selection"
This commit is contained in:
parent
733bfe36f5
commit
a7bfc2cbb5
@ -1182,7 +1182,7 @@ int lvchange(struct cmd_context *cmd, int argc, char **argv)
|
||||
cmd->handles_missing_pvs = 1;
|
||||
|
||||
if (!argc && !arg_is_set(cmd, select_ARG)) {
|
||||
log_error("Please give logical volume path(s) or use -S for selection.");
|
||||
log_error("Please give logical volume path(s) or use --select for selection.");
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ int lvremove(struct cmd_context *cmd, int argc, char **argv)
|
||||
{
|
||||
if (!argc && !arg_is_set(cmd, select_ARG)) {
|
||||
log_error("Please enter one or more logical volume paths "
|
||||
"or use -S for selection.");
|
||||
"or use --select for selection.");
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv)
|
||||
handle->custom_handle = ¶ms;
|
||||
|
||||
if (!(arg_count(cmd, all_ARG)) && !argc && !handle->internal_report_for_select) {
|
||||
log_error("Please give a physical volume path or use -S for selection.");
|
||||
log_error("Please give a physical volume path or use --select for selection.");
|
||||
ret = EINVALID_CMD_LINE;
|
||||
goto out;
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ bad:
|
||||
int vgexport(struct cmd_context *cmd, int argc, char **argv)
|
||||
{
|
||||
if (!argc && !arg_count(cmd, all_ARG) && !arg_is_set(cmd, select_ARG)) {
|
||||
log_error("Please supply volume groups or use -S for selection or use -a for all.");
|
||||
log_error("Please supply volume groups or use --select for selection or use -a for all.");
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ int vgremove(struct cmd_context *cmd, int argc, char **argv)
|
||||
|
||||
if (!argc && !arg_is_set(cmd, select_ARG)) {
|
||||
log_error("Please enter one or more volume group paths "
|
||||
"or use -S for selection.");
|
||||
"or use --select for selection.");
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user