diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7db5eed..d3ce3c0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
+## [Unrelease]
+
+### Fixed
+
+- Include reference parameter into standard configuration file. Fixes #98.
+
 ## [0.16.0] - 2018-06-03
 
 ### Added
diff --git a/next_action/arguments/config.py b/next_action/arguments/config.py
index 243e787..6c6acdc 100644
--- a/next_action/arguments/config.py
+++ b/next_action/arguments/config.py
@@ -29,7 +29,8 @@ def read_config_file(filename: str, default_filename: str, error: Callable[[str]
 def write_config_file() -> None:
     """ Generate a configuration file on standard out. """
     intro = "# Configuration file for Next-action. Edit the settings below as you like.\n"
-    config = yaml.dump(dict(file="~/todo.txt", number=1, style="default"), default_flow_style=False)
+    config = yaml.dump(dict(file="~/todo.txt", number=1, reference="multiple", style="default"),
+                       default_flow_style=False)
     sys.stdout.write(intro + config)
 
 

Add `--reference` to standard configuration file
diff --git a/tests/unittests/arguments/test_config.py b/tests/unittests/arguments/test_config.py
index fcdf588..8eb5728 100644
--- a/tests/unittests/arguments/test_config.py
+++ b/tests/unittests/arguments/test_config.py
@@ -99,7 +99,7 @@ class ConfigFileTest(ConfigTestCase):
         """ Test that a config file can be written to stdout. """
         self.assertRaises(SystemExit, parse_arguments)
         expected = "# Configuration file for Next-action. Edit the settings below as you like.\n"
-        expected += "file: ~/todo.txt\nnumber: 1\nstyle: default\n"
+        expected += "file: ~/todo.txt\nnumber: 1\nreference: multiple\nstyle: default\n"
         self.assertEqual([call(expected)], mock_stdout_write.call_args_list)
 
 

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
Cerberus==1.2
dateparser==0.7.0
exceptiongroup==1.2.2
iniconfig==2.1.0
-e git+https://github.com/fniessink/next-action.git@ccfac4290ac360ea795bdc5b71d8574152af99aa#egg=next_action
packaging==24.2
pluggy==1.5.0
Pygments==2.2.0
pytest==8.3.5
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==3.12
regex==2024.11.6
six==1.17.0
tomli==2.2.1
tzlocal==5.3.1

name: next-action
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - cerberus==1.2
      - dateparser==0.7.0
      - exceptiongroup==1.2.2
      - iniconfig==2.1.0
      - packaging==24.2
      - pluggy==1.5.0
      - pygments==2.2.0
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==3.12
      - regex==2024.11.6
      - six==1.17.0
      - tomli==2.2.1
      - tzlocal==5.3.1
prefix: /opt/conda/envs/next-action

tests/unittests/arguments/test_config.py::ConfigFileTest::test_write_config
tests/unittests/arguments/test_config.py::ConfigFileTest::test_empty_file tests/unittests/arguments/test_config.py::ConfigFileTest::test_error_opening tests/unittests/arguments/test_config.py::ConfigFileTest::test_error_parsing tests/unittests/arguments/test_config.py::ConfigFileTest::test_file_not_found tests/unittests/arguments/test_config.py::ConfigFileTest::test_invalid_document tests/unittests/arguments/test_config.py::ConfigFileTest::test_missing_default_config tests/unittests/arguments/test_config.py::ConfigFileTest::test_no_file_key tests/unittests/arguments/test_config.py::ConfigFileTest::test_skip_config tests/unittests/arguments/test_config.py::FilenameTest::test_cli_takes_precedence tests/unittests/arguments/test_config.py::FilenameTest::test_invalid_filename tests/unittests/arguments/test_config.py::FilenameTest::test_valid_and_invalid tests/unittests/arguments/test_config.py::FilenameTest::test_valid_file tests/unittests/arguments/test_config.py::FilenameTest::test_valid_files tests/unittests/arguments/test_config.py::NumberTest::test_all_and_number tests/unittests/arguments/test_config.py::NumberTest::test_all_false tests/unittests/arguments/test_config.py::NumberTest::test_all_true tests/unittests/arguments/test_config.py::NumberTest::test_argument_all_overrides tests/unittests/arguments/test_config.py::NumberTest::test_argument_nr_overrides tests/unittests/arguments/test_config.py::NumberTest::test_cli_takes_precedence tests/unittests/arguments/test_config.py::NumberTest::test_invalid_number tests/unittests/arguments/test_config.py::NumberTest::test_valid_number tests/unittests/arguments/test_config.py::NumberTest::test_zero tests/unittests/arguments/test_config.py::ConfigStyleTest::test_cancel_style tests/unittests/arguments/test_config.py::ConfigStyleTest::test_invalid_style tests/unittests/arguments/test_config.py::ConfigStyleTest::test_override_style tests/unittests/arguments/test_config.py::ConfigStyleTest::test_valid_style tests/unittests/arguments/test_config.py::PriorityTest::test_cancel_priority tests/unittests/arguments/test_config.py::PriorityTest::test_invalid_priority tests/unittests/arguments/test_config.py::PriorityTest::test_override_priority tests/unittests/arguments/test_config.py::PriorityTest::test_valid_priority tests/unittests/arguments/test_config.py::ReferenceTest::test_invalid_priority tests/unittests/arguments/test_config.py::ReferenceTest::test_override tests/unittests/arguments/test_config.py::ReferenceTest::test_valid_reference
next_action/arguments/config.py CHANGELOG.md
next_action/arguments/config.py CHANGELOG.md