diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-09-11 18:28:51 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-09-11 18:28:51 +0000 |
commit | 83856de963f9341b9c05853841685e4fbbcaf228 (patch) | |
tree | 215e76c9899f7f5e05a614127ddb6ca650d0726e /src | |
parent | 6a530016680ba5502ea5b8a8c483c754f912b811 (diff) | |
download | cflow-83856de963f9341b9c05853841685e4fbbcaf228.tar.gz cflow-83856de963f9341b9c05853841685e4fbbcaf228.tar.bz2 |
(doc): Reformat argp docstring in accordance with the
new argp guidelines. Remove unneeded translators comment.
(main): Set program_name.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -24,9 +24,9 @@ const char *argp_program_version = "cflow (" PACKAGE_NAME ") " VERSION; const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; -/* TRANSLATORS: Please, preserve the vertical tabulation (^K character) - in this message */ -static char doc[] = N_("generate a program flowgraph\v* The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with `no-'. For example, --no-cpp cancels --cpp."); +static char doc[] = N_("generate a program flowgraph") +"\v" +N_("* The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with `no-'. For example, --no-cpp cancels --cpp."); enum option_code { OPT_DEFINES = 256, @@ -746,6 +746,8 @@ main(int argc, char **argv) { int index; + program_name = argv[0]; /* Until gnulib provides a better way */ + setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); |