Skip to content

Commit

Permalink
CLI: don't break the build if Block.connect has optional arguments
Browse files Browse the repository at this point in the history
See [mirage/mirage-block-unix#52]

Signed-off-by: David Scott <[email protected]>
  • Loading branch information
djs55 committed Sep 21, 2016
1 parent 5677d6f commit 5ba9c65
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cli/impl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ let to_cmdliner_error = function
| `Error (`Unknown x) -> `Error(false, x)
| `Ok x -> `Ok x

module Block = struct
include Block
(* We're not interested in any optional arguments [connect] may or may not
have *)
let connect path = connect path
end

module TracedBlock = struct
include Block

Expand Down

0 comments on commit 5ba9c65

Please sign in to comment.