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:
bubblemelon authored and Atomic Bot committed 2018-07-30 17:54:58 +00:00
1 parent 6869bada49
commit 61c37aa40c
1 file changed
+1 -1
+1 -1
View File
@@ -293,7 +293,7 @@ ostree_builtin_refs (int argc, char **argv, OstreeCommandInvocation *invocation,
else if (opt_create)
{
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;
}