diff --git a/src/System/Console/StructuredCLI.hs b/src/System/Console/StructuredCLI.hs
--- a/src/System/Console/StructuredCLI.hs
+++ b/src/System/Console/StructuredCLI.hs
@@ -451,7 +451,7 @@
                 (word, _) -> do
                   results <- mapM (parseOne word) (zip possibilities $ repeat "")
                   case filter isDone results of
-                    (result:_) -> return result
+                    (Done _ matched remaining:_) -> return $ Done matched matched remaining
                     _          ->
                       case filter isPartial results of
                         []       ->
diff --git a/structured-cli.cabal b/structured-cli.cabal
--- a/structured-cli.cabal
+++ b/structured-cli.cabal
@@ -1,5 +1,5 @@
 name:                structured-cli
-version:             2.5.0.0
+version:             2.5.0.1
 synopsis:            Application library for building interactive console CLIs
 description:         This module provides the tools to build a complete "structured" CLI application, similar to those found in systems like Cisco IOS or console configuration utilities etc. It aims to be easy for implementors to use.
 homepage:            https://gitlab.com/codemonkeylabs/structured-cli#readme
