From b2fc4eb99e9eb6207505252227d716df0527deec Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 8 Mar 2015 11:25:14 +0100 Subject: Rename project to “pucket” MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6a17b3a..c490d50 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,4 @@ /* - FLAM3 - cosmic recursive fractal flames Copyright (C) 1992-2009 Spotworks LLC This program is free software; you can redistribute it and/or modify @@ -29,8 +28,7 @@ #define streq(a,b) (strcmp (a, b) == 0) -const char *argp_program_version = - "vlam3-pre"; +const char *argp_program_version = PACKAGE "-" VERSION; typedef struct { unsigned int bpc; @@ -137,7 +135,7 @@ static void do_render (const render_arguments * const arguments) { } static void print_genome (flam3_genome * const genome) { - printf("\n", flam3_version()); + printf("\n"); flam3_print (stdout, genome, NULL, flam3_dont_print_edits); printf("\n"); } @@ -431,7 +429,7 @@ int main (int argc, char **argv) { {"method", 'm', "XXX", OPTION_ARG_OPTIONAL, "Cross method" }, { 0 }, }; - const char doc[] = "vlame3-cross -- a fractal flame renderer"; + const char doc[] = PACKAGE "-cross -- a fractal flame renderer"; const struct argp argp = { .options = options, .parser = parse_cross_opt, .args_doc = NULL, .doc = doc, .children = NULL @@ -448,7 +446,7 @@ int main (int argc, char **argv) { {"method", 'm', "XXX", OPTION_ARG_OPTIONAL, "Mutation method" }, { 0 }, }; - const char doc[] = "vlame3-mutate -- a fractal flame renderer"; + const char doc[] = PACKAGE "-mutate -- a fractal flame renderer"; const struct argp argp = { .options = options, .parser = parse_mutate_opt, .args_doc = NULL, .doc = doc, .children = NULL @@ -468,7 +466,7 @@ int main (int argc, char **argv) { {"width", 'w', "pixels", 0, "Output flame width" }, { 0 }, }; - const char doc[] = "vlame3-random -- a fractal flame generator"; + const char doc[] = PACKAGE "-random -- a fractal flame generator"; const struct argp argp = { .options = options, .parser = parse_random_opt, .args_doc = NULL, .doc = doc, .children = NULL @@ -492,7 +490,7 @@ int main (int argc, char **argv) { {"cache", 'c', "path", 0, "Cache file" }, { 0 }, }; - const char doc[] = "vlame3-render -- a fractal flame renderer"; + const char doc[] = PACKAGE "-render -- a fractal flame renderer"; const struct argp argp = { .options = options, .parser = parse_render_opt, .args_doc = NULL, .doc = doc, .children = NULL, -- cgit v1.2.3