aboutsummaryrefslogtreecommitdiff
path: root/ui-snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-snapshot.c')
-rw-r--r--ui-snapshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 281899d..54e659c 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -14,6 +14,7 @@
static int write_archive_type(const char *format, const char *hex, const char *prefix)
{
struct argv_array argv = ARGV_ARRAY_INIT;
+ argv_array_push(&argv, "snapshot");
argv_array_push(&argv, format);
if (prefix) {
argv_array_push(&argv, "--prefix");