#include <config.h>
#include <libubi.h>
-#define VERSION "1.2"
+#define PROGRAM_VERSION "1.2"
/*
* The variables below are set by command line arguments.
static int param_sanity_check(struct args *args, ubi_lib_t lib);
static error_t parse_opt(int key, char *optarg, struct argp_state *state);
+
+const char *argp_program_version = PROGRAM_VERSION;
const char *argp_program_bug_address = PACKAGE_BUGREPORT;
-static char doc[] = "\nVersion: " VERSION "\n\t"
+static char doc[] = "\nVersion: " PROGRAM_VERSION "\n\t"
BUILD_OS" "BUILD_CPU" at "__DATE__" "__TIME__"\n"
"\nMake UBI Volume.\n";
#include <config.h>
#include <libubi.h>
-#define VERSION "1.1"
+#define PROGRAM_VERSION "1.1"
/*
* The below variables are set by command line options.
static int param_sanity_check(struct args *args, ubi_lib_t lib);
static error_t parse_opt(int key, char *optarg, struct argp_state *state);
+
+const char *argp_program_version = PROGRAM_VERSION;
const char *argp_program_bug_address = PACKAGE_BUGREPORT;
-static char doc[] = "\nVersion: " VERSION "\n\t"
+static char doc[] = "\nVersion: " PROGRAM_VERSION "\n\t"
BUILD_OS" "BUILD_CPU" at "__DATE__" "__TIME__"\n"
"\nMake UBI Volume.\n";
#include <config.h>
#include <libubi.h>
-#define VERSION "1.0"
+#define PROGRAM_VERSION "1.0"
#define MAXPATH 1024
#define BUFSIZE 128 * 1024
static error_t parse_opt (int key, char *arg, struct argp_state *state);
static int verbose = 0;
+const char *argp_program_version = PROGRAM_VERSION;
const char *argp_program_bug_address = PACKAGE_BUGREPORT;
-static char doc[] = "\nVersion: " VERSION "\n\t"
+static char doc[] = "\nVersion: " PROGRAM_VERSION "\n\t"
BUILD_OS" "BUILD_CPU" at "__DATE__" "__TIME__"\n"
"\nWrite to UBI Volume.\n";