X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=play.c;h=255886b3530629b775f09bfbeaa47a7e771445ec;hb=06b3e7bc1b04def7488a5c5cd65de00aca655612;hp=9204792d0f5607a17d05a812dc83b0ff62bec49c;hpb=75feacbafa2a1fe258f85963205b8c28a976badc;p=paraslash.git diff --git a/play.c b/play.c index 9204792d..255886b3 100644 --- a/play.c +++ b/play.c @@ -153,7 +153,7 @@ __noreturn static void print_help_and_die(void) const char **p = d? play_args_info_detailed_help : play_args_info_help; - printf_or_die("%s\n\n", VERSION_SINGLE_LINE("play")); + printf_or_die("%s\n\n", version_single_line("play")); printf_or_die("%s\n\n", play_args_info_usage); if (d) printf_or_die("%s\n", PP_DESC); @@ -175,8 +175,8 @@ static void parse_config_or_die(int argc, char *argv[]) }; play_cmdline_parser_ext(argc, argv, &conf, ¶ms); - HANDLE_VERSION_FLAG("play", conf); loglevel = get_loglevel_by_name(conf.loglevel_arg); + version_handle_flag("play", conf.version_given); if (conf.help_given || conf.detailed_help_given) print_help_and_die(); if (conf.config_file_given) @@ -1042,7 +1042,7 @@ static void session_open(__a_unused struct play_task *pt) char *history_file; struct sigaction act; - PARA_NOTICE_LOG("\n%s\n", VERSION_TEXT("play")); + PARA_NOTICE_LOG("\n%s\n", version_text("play")); if (conf.history_file_given) history_file = para_strdup(conf.history_file_arg); else {