Require a PREFIX when deleting refs

Also fix the "ostree refs" help output to not give the impression that
the --delete option takes its own PREFIX argument.

https://bugzilla.gnome.org/show_bug.cgi?id=742454
This commit is contained in:
Matthew Barnes committed 2015-01-06 10:33:12 -05:00
1 parent 1e8e070102
commit 7727fe84d9
2 files changed
+11 -1

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ $OSTREE refs > reflist
assert_file_has_content reflist '^test2$'
rm reflist
$OSTREE refs --delete 2>/dev/null && (echo 1>&2 "refs --delete (without prefix) unexpectedly succeeded!"; exit 1)
echo "ok refs"
cd checkout-test2