MINOR: halog: Rename -qry to -query
With the query flag moved into the correct help section, there is enough space for two additional characters.
This commit is contained in:
parent
a0635f8d10
commit
385338b30b
@ -148,7 +148,7 @@ void usage(FILE *output, const char *msg)
|
|||||||
"Usage: halog [-h|--help] for long help\n"
|
"Usage: halog [-h|--help] for long help\n"
|
||||||
" halog [-q] [-c] [-m <lines>]\n"
|
" halog [-q] [-c] [-m <lines>]\n"
|
||||||
" {-cc|-gt|-pct|-st|-tc|-srv|-u|-uc|-ue|-ua|-ut|-uao|-uto|-uba|-ubt|-ic}\n"
|
" {-cc|-gt|-pct|-st|-tc|-srv|-u|-uc|-ue|-ua|-ut|-uao|-uto|-uba|-ubt|-ic}\n"
|
||||||
" [-s <skip>] [-e|-E] [-H] [-rt|-RT <time>] [-ad <delay>] [-ac <count>] [-qry]\n"
|
" [-s <skip>] [-e|-E] [-H] [-rt|-RT <time>] [-ad <delay>] [-ac <count>] [-query]\n"
|
||||||
" [-v] [-Q|-QS] [-tcn|-TCN <termcode>] [ -hs|-HS [min][:[max]] ] [ -time [min][:[max]] ] < log\n"
|
" [-v] [-Q|-QS] [-tcn|-TCN <termcode>] [ -hs|-HS [min][:[max]] ] [ -time [min][:[max]] ] < log\n"
|
||||||
"\n",
|
"\n",
|
||||||
msg ? msg : ""
|
msg ? msg : ""
|
||||||
@ -183,7 +183,7 @@ void help()
|
|||||||
" -m <lines> limit output to the first <lines> lines\n"
|
" -m <lines> limit output to the first <lines> lines\n"
|
||||||
" -s <skip_n_fields> skip n fields from the beginning of a line (default %d)\n"
|
" -s <skip_n_fields> skip n fields from the beginning of a line (default %d)\n"
|
||||||
" you can also use -n to start from earlier then field %d\n"
|
" you can also use -n to start from earlier then field %d\n"
|
||||||
" -qry preserve the query string for per-URL (-u*) statistics\n"
|
" -query preserve the query string for per-URL (-u*) statistics\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Output filters - only one may be used at a time\n"
|
"Output filters - only one may be used at a time\n"
|
||||||
" -c only report the number of lines that would have been printed\n"
|
" -c only report the number of lines that would have been printed\n"
|
||||||
@ -833,7 +833,7 @@ int main(int argc, char **argv)
|
|||||||
filter |= FILT_COUNT_URL_BAVG;
|
filter |= FILT_COUNT_URL_BAVG;
|
||||||
else if (strcmp(argv[0], "-ubt") == 0)
|
else if (strcmp(argv[0], "-ubt") == 0)
|
||||||
filter |= FILT_COUNT_URL_BTOT;
|
filter |= FILT_COUNT_URL_BTOT;
|
||||||
else if (strcmp(argv[0], "-qry") == 0)
|
else if (strcmp(argv[0], "-query") == 0)
|
||||||
filter2 |= FILT2_PRESERVE_QUERY;
|
filter2 |= FILT2_PRESERVE_QUERY;
|
||||||
else if (strcmp(argv[0], "-ic") == 0)
|
else if (strcmp(argv[0], "-ic") == 0)
|
||||||
filter |= FILT_COUNT_IP_COUNT;
|
filter |= FILT_COUNT_IP_COUNT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user