summaryrefslogtreecommitdiff
path: root/utils/nwztools/upgtools/upgtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/upgtools/upgtool.c')
-rw-r--r--utils/nwztools/upgtools/upgtool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/nwztools/upgtools/upgtool.c b/utils/nwztools/upgtools/upgtool.c
index a1dce84870..7a4d78f0d7 100644
--- a/utils/nwztools/upgtools/upgtool.c
+++ b/utils/nwztools/upgtools/upgtool.c
@@ -465,6 +465,11 @@ int main(int argc, char **argv)
465 printf("You cannot specify both create and extract\n"); 465 printf("You cannot specify both create and extract\n");
466 return 1; 466 return 1;
467 } 467 }
468 if(extract && !g_out_prefix)
469 {
470 printf("You need to specify output prefix (-o) to extract\n");
471 return 1;
472 }
468 473
469 int ret = 0; 474 int ret = 0;
470 if(create) 475 if(create)