diff options
author | Greg Lehey <grog@FreeBSD.org> | 2012-11-17 23:49:20 +0000 |
---|---|---|
committer | Greg Lehey <grog@FreeBSD.org> | 2012-11-17 23:49:20 +0000 |
commit | 90f854b88052cbeedb77875dbb2853ce64dcf4df (patch) | |
tree | 874fce811fbf61faf9df83f69617a1f1e73ff217 /usr.bin/locale | |
parent | 7dc6ac7b741c2563543c1c59f3490b909c88a868 (diff) | |
download | src-test2-90f854b88052cbeedb77875dbb2853ce64dcf4df.tar.gz src-test2-90f854b88052cbeedb77875dbb2853ce64dcf4df.zip |
Notes
Diffstat (limited to 'usr.bin/locale')
-rw-r--r-- | usr.bin/locale/locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c index 85e6d7f64158..ee9bf84d66d7 100644 --- a/usr.bin/locale/locale.c +++ b/usr.bin/locale/locale.c @@ -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) { |