Correctly handle keywords without options.
Reported by: swills@ MFC after: 14 days
This commit is contained in:
parent
4002468097
commit
2e5b9af6e5
@ -279,8 +279,8 @@ main(int argc, char *argv[])
|
||||
exit(0);
|
||||
}
|
||||
|
||||
/* process '-c' and/or '-k' */
|
||||
if (prt_categories || prt_keywords) {
|
||||
/* process '-c', '-k', or command line arguments. */
|
||||
if (prt_categories || prt_keywords || argc > 0) {
|
||||
if (argc > 0) {
|
||||
setlocale(LC_ALL, "");
|
||||
while (argc > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user