Added README

This commit is contained in:
Phuntsok Drak-pa
2018-11-12 15:17:02 +01:00
parent df4ad14ef1
commit a759caff99
2 changed files with 30 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
void help(int t_exit_code) {
puts("Usage:");
puts("surfaces-unies -i path [-o path] [-options]\n");
puts("The default action is to compress the mandatory input image to a .sf");
puts("The default action is to compress the mandatory input image to a .su");
puts("file saved in the current directory.");
puts("The input image MUST be saved in the ppm format.");
puts("Options available:");
@@ -91,7 +91,7 @@ void get_args(Argres *t_args, int *t_c) {
Argres process_args(const int t_argc, char *t_argv[]) {
Argres res;
res.input = NULL;
res.output = "output.fs";
res.output = "output.su";
while (true) {
int option_index = 0;
static struct option long_options[] = {