diff --git a/CHANGELOG.md b/CHANGELOG.md
index bbdd695..eb96b4e 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).
 
+## [Unreleased]
+
+### Fixed
+
+- Short options immediately followed by a value weren't parsed correctly. Fixes #84.
+
 ## [0.16.1] - 2018-06-04
 
 ### Fixed
diff --git a/next_action/arguments/parser.py b/next_action/arguments/parser.py
index 725d787..0d7a4b1 100644
--- a/next_action/arguments/parser.py
+++ b/next_action/arguments/parser.py
@@ -153,7 +153,8 @@ class NextActionArgumentParser(argparse.ArgumentParser):
     @staticmethod
     def arguments_not_specified(*arguments: str) -> bool:
         """ Return whether any of the arguments was specified on the command line. """
-        return all([argument not in sys.argv for argument in arguments])
+        return not any([command_line_arg.startswith(argument) for argument in arguments
+                        for command_line_arg in sys.argv])
 
     def fix_filenames(self, namespace: argparse.Namespace) -> None:
         """ Fix the filenames. """

next-action -pA isn't interpreted as next-action -p A
diff --git a/tests/unittests/arguments/test_config.py b/tests/unittests/arguments/test_config.py
index 8eb5728..12e9a15 100644
--- a/tests/unittests/arguments/test_config.py
+++ b/tests/unittests/arguments/test_config.py
@@ -270,13 +270,19 @@ class PriorityTest(ConfigTestCase):
     @patch.object(sys, "argv", ["next-action", "--priority", "M"])
     @patch.object(config, "open", mock_open(read_data="priority: Z"))
     def test_override_priority(self):
-        """ Test that a command line style overrides the priority in the config file. """
+        """ Test that a command line option overrides the priority in the config file. """
+        self.assertEqual("M", parse_arguments()[1].priority)
+
+    @patch.object(sys, "argv", ["next-action", "-pM"])
+    @patch.object(config, "open", mock_open(read_data="priority: Z"))
+    def test_override_short(self):
+        """ Test that a short command line option overrides the priority in the config file. """
         self.assertEqual("M", parse_arguments()[1].priority)
 
     @patch.object(sys, "argv", ["next-action", "--priority"])
     @patch.object(config, "open", mock_open(read_data="priority: Z"))
     def test_cancel_priority(self):
-        """ Test that a command line style overrides the priority in the config file. """
+        """ Test that a command line option overrides the priority in the config file. """
         self.assertEqual(None, parse_arguments()[1].priority)
 
     @patch.object(sys, "argv", ["next-action"])

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest coverage codacy-coverage pylint pycodestyle bandit
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
astroid==3.3.9
bandit==1.8.3
Cerberus==1.2
certifi==2025.1.31
charset-normalizer==3.4.1
codacy-coverage==1.3.11
coverage==7.8.0
dateparser==0.7.0
dill==0.3.9
exceptiongroup==1.2.2
idna==3.10
iniconfig==2.1.0
isort==6.0.1
markdown-it-py==3.0.0
mccabe==0.7.0
mdurl==0.1.2
-e git+https://github.com/fniessink/next-action.git@1a1278fb1e5854ea7291f385307ae9e8f8eb67d1#egg=next_action
packaging==24.2
pbr==6.1.1
platformdirs==4.3.7
pluggy==1.5.0
pycodestyle==2.13.0
Pygments==2.19.1
pylint==3.3.6
pytest==8.3.5
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.2
regex==2024.11.6
requests==2.32.3
rich==14.0.0
six==1.17.0
stevedore==5.4.1
tomli==2.2.1
tomlkit==0.13.2
typing_extensions==4.13.0
tzlocal==5.3.1
urllib3==2.3.0

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:
      - astroid==3.3.9
      - bandit==1.8.3
      - cerberus==1.2
      - certifi==2025.1.31
      - charset-normalizer==3.4.1
      - codacy-coverage==1.3.11
      - coverage==7.8.0
      - dateparser==0.7.0
      - dill==0.3.9
      - exceptiongroup==1.2.2
      - idna==3.10
      - iniconfig==2.1.0
      - isort==6.0.1
      - markdown-it-py==3.0.0
      - mccabe==0.7.0
      - mdurl==0.1.2
      - packaging==24.2
      - pbr==6.1.1
      - platformdirs==4.3.7
      - pluggy==1.5.0
      - pycodestyle==2.13.0
      - pygments==2.19.1
      - pylint==3.3.6
      - pytest==8.3.5
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==6.0.2
      - regex==2024.11.6
      - requests==2.32.3
      - rich==14.0.0
      - six==1.17.0
      - stevedore==5.4.1
      - tomli==2.2.1
      - tomlkit==0.13.2
      - typing-extensions==4.13.0
      - tzlocal==5.3.1
      - urllib3==2.3.0
prefix: /opt/conda/envs/next-action

tests/unittests/arguments/test_config.py::PriorityTest::test_override_short
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::ConfigFileTest::test_write_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/parser.py CHANGELOG.md
next_action/arguments/parser.py CHANGELOG.md