X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_tool.c;h=6ca537fa852d9cc23cd8d1b9b18eadf6ba973c49;hp=d3bc2768643bcacb2bdf0ec94f133b65e7cd76c0;hb=1a717ae21423bc6fc0ac6fd1b675d2bf689a79e8;hpb=0c06404fd40724f9e1318715c1e737302658befb diff --git a/src/rrd_tool.c b/src/rrd_tool.c index d3bc276..6ca537f 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -150,6 +150,7 @@ void PrintUsage( "\t\t[-m|--zoom factor]\n" "\t\t[-A|--alt-autoscale]\n" "\t\t[-M|--alt-autoscale-max]\n" + "\t\t[-G|--graph-render-mode {normal,mono}]\n" "\t\t[-R|--font-render-mode {normal,light,mono}]\n" "\t\t[-B|--font-smoothing-threshold size]\n" "\t\t[-T|--tabwidth width]\n" @@ -528,7 +529,6 @@ int HandleInputLine( #if defined(HAVE_SYS_STAT_H) struct stat st; #endif - char *cwd; /* To hold current working dir on call to pwd */ /* Reset errno to 0 before we start. */ @@ -561,6 +561,7 @@ int HandleInputLine( return (0); } if (argc > 1 && strcmp("pwd", argv[1]) == 0) { + char *cwd; /* To hold current working dir on call to pwd */ if (argc > 2) { printf("ERROR: invalid parameter count for pwd\n"); return (1);