bin/refs: Clarify --create error message
Fix ref create error when existing rev not specified. Closes: #1690 Approved by: jlebon
This commit is contained in:
parent
6869bada49
commit
61c37aa40c
|
|
@ -293,7 +293,7 @@ ostree_builtin_refs (int argc, char **argv, OstreeCommandInvocation *invocation,
|
||||||
else if (opt_create)
|
else if (opt_create)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
"You must specify an existing ref when creating a new ref");
|
"You must specify a revision when creating a new ref");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue