Skip to content

Commit

Permalink
version bump 0.3
Browse files Browse the repository at this point in the history
- removed unnecessary argp code
  • Loading branch information
kamiyaa committed Apr 5, 2017
1 parent e9413fa commit 54df899
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/ruiji.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,13 @@

#include "interface.h"

#define VERSION "0.2"
#define VERSION "0.3"

#define IQDB_URL "https://iqdb.org"
#define IQDB_UPLOAD_FIELD "file"
#define DANBOORU_SOURCE_ID "Size: <a href=\""
#define MAX_FILE_SIZE 8192000

/* Program documentation. */
const char *argp_program_bug_address =
"report bugs to https://github.com/Kamiyaa/ruiji";
static char ruiji_doc[] =
"\nReverse image searching program using iqdb.org";


/* struct for holding command line arguments */
struct ruiji_arg_opts {
Expand Down Expand Up @@ -59,7 +53,6 @@ void set_default_opt(struct ruiji_arg_opts *arg_opt)
arg_opt->showhelp = 0;
arg_opt->showversion = 0;
arg_opt->threshold = 0;
arg_opt->file = "file.png";
}


Expand Down Expand Up @@ -98,8 +91,7 @@ error_t parse_opt(int key, char *arg, struct argp_state *state)


static struct argp ruiji_args = {
options, parse_opt,
0, ruiji_doc
options, parse_opt
};


Expand Down

0 comments on commit 54df899

Please sign in to comment.