1 @c This option is included at several places.
2 @item --homedir @var{dir}
4 Set the name of the home directory to @var{dir}. If this option is not
5 used, the home directory defaults to @file{~/.gnupg}. It is only
6 recognized when given on the command line. It also overrides any home
7 directory stated through the environment variable @env{GNUPGHOME} or
8 (on W32 systems) by means of the Registry entry
9 @var{HKCU\Software\GNU\GnuPG:HomeDir}.