add hostname to example config

This commit is contained in:
Alan Hamlett 2016-07-06 09:39:26 +02:00
parent 8a205e745b
commit 75ae22f8c8

View file

@ -57,7 +57,7 @@ Configuring
Options can be passed via command line, or set in the ``$HOME/.wakatime.cfg`` Options can be passed via command line, or set in the ``$HOME/.wakatime.cfg``
config file. Command line arguments take precedence over config file settings. config file. Command line arguments take precedence over config file settings.
The ``$HOME/.wakatime.cfg`` file is in `INI <http://en.wikipedia.org/wiki/INI_file>`_ The ``$HOME/.wakatime.cfg`` file is in `INI <http://en.wikipedia.org/wiki/INI_file>`_
format. An example config file looks like:: format. An example config file with all available options::
[settings] [settings]
debug = false debug = false
@ -76,6 +76,7 @@ format. An example config file looks like::
[projectmap] [projectmap]
projects/foo = new project name projects/foo = new project name
^/home/user/projects/bar(\d+)/ = project{0} ^/home/user/projects/bar(\d+)/ = project{0}
hostname = machinename
Troubleshooting Troubleshooting