diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-11 01:08:32 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-11 01:08:32 +0100 |
commit | b4c780ac731398b5ebeb04b95f763c9e08b814c2 (patch) | |
tree | a658988e43398bb5174caa83b1f75d068236d086 /src | |
parent | 488be6bee4be864ca96bf9ab0f88ec323b06c6e5 (diff) | |
download | yawa-b4c780ac731398b5ebeb04b95f763c9e08b814c2.tar.xz |
Implement functionality part of --write argument
Diffstat (limited to 'src')
-rw-r--r-- | src/yawa.c | 2 | ||||
-rw-r--r-- | src/yawa.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) { @@ -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} }; |