mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
We need to lookup locale when command line arguments
are specified, as well. MFC after: 1 week
This commit is contained in:
parent
bfe9db5816
commit
454d904a0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308809
@ -283,7 +283,7 @@ main(int argc, char *argv[])
|
||||
|
||||
/* process '-c', '-k', or command line arguments. */
|
||||
if (prt_categories || prt_keywords || argc > 0) {
|
||||
if (prt_keywords)
|
||||
if (prt_keywords || argc > 0)
|
||||
setlocale(LC_ALL, "");
|
||||
if (argc > 0) {
|
||||
while (argc > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user