bin/summary: Fix --raw option
I wanted to inspect a summary file the other day and was saddened to find it was broken: $ ostree summary --raw error: No option specified; use -u to update summary Fix the test to do the normal thing of passing just --raw without --view. It's legal to pass --raw and --view, but it shouldn't be a requirement. Closes: #1336 Approved by: cgwalters
This commit is contained in:
1 parent
9856ed3840
commit
374f7fc973
2 files changed
+2
-2
No files matched your search
@@ -210,7 +210,7 @@ ostree_builtin_summary (int argc, char **argv, OstreeCommandInvocation *invocati
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
else if (opt_view)
|
||||
else if (opt_view || opt_raw)
|
||||
{
|
||||
g_autoptr(GBytes) summary_data = NULL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user