localedef: Add hint on purpose of --no-archive

Indicate why using --no-archive might be a good idea. The issue
is that if you create a custom locale with localedef(1) and put
it to the locale archive then during the next glibc upgrade the
locale archive is updated as well and your custom locale is gone.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Marko Myllynen 2016-02-19 00:38:47 +02:00 committed by Michael Kerrisk
parent c66649c835
commit e603187044
1 changed files with 3 additions and 0 deletions

View File

@ -243,6 +243,9 @@ Do not use the locale archive file, instead create
.I outputpath
as a subdirectory in the same directory as the locale archive file,
and create separate output files for locale categories in it.
This is helpful to prevent system locale archive updates to overwrite
custom locales created with
.BR localedef .
.TP
.BR \-? ", " \-\-help
Print a usage summary and exit.