Lookup locale when print all keywords as well.

Reported by:	dumbbell
Reviewed by:	dumbbell
MFC after:	1 week
This commit is contained in:
Hajimu UMEMOTO 2016-11-18 16:48:37 +00:00
parent 63a16ecab1
commit bfe9db5816
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308808

View File

@ -283,8 +283,9 @@ main(int argc, char *argv[])
/* process '-c', '-k', or command line arguments. */
if (prt_categories || prt_keywords || argc > 0) {
if (argc > 0) {
if (prt_keywords)
setlocale(LC_ALL, "");
if (argc > 0) {
while (argc > 0) {
showdetails(*argv);
argv++;