aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/yawa.c2
-rw-r--r--src/yawa.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/yawa.c b/src/yawa.c
index 5b37bac..ef45953 100644
--- a/src/yawa.c
+++ b/src/yawa.c
@@ -466,7 +466,7 @@ main(int argc, char **argv)
}
if (arguments.write) {
- imlib_save_image(argv[i]);
+ imlib_save_image(arguments.write_file);
}
if (modifier != NULL) {
diff --git a/src/yawa.h b/src/yawa.h
index 7cafd2c..ac4cd4d 100644
--- a/src/yawa.h
+++ b/src/yawa.h
@@ -100,7 +100,7 @@ static struct argp_option options[] = {
{0, 0, 0, 0, "Misc:", -1},
{"alpha", 'A', "AMOUNT", 0, "Adjust alpha level for colors and images", -1},
- {"write", 'w', "FILENAME", 0, "Write the current image to a file", -1}, // Not implemented
+ {"write", 'w', "FILENAME", 0, "Write the current image to a file", -1},
{0, 0, 0, 0, 0, 0}
};