1
0
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:
Peter Rajnoha 2015-03-04 14:40:04 +01:00
parent 733bfe36f5
commit a7bfc2cbb5
5 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -180,7 +180,7 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv)
handle->custom_handle = &params;
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;
}

View File

@ -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;
}

View File

@ -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;
}