summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/configuration_.ml4
-rw-r--r--test/parent.ml2
-rw-r--r--test/splay_tree.ml6
-rw-r--r--test/tests.ml2
4 files changed, 7 insertions, 7 deletions
diff --git a/test/configuration_.ml b/test/configuration_.ml
index 0fd42fb..0cc01da 100644
--- a/test/configuration_.ml
+++ b/test/configuration_.ml
@@ -4,13 +4,13 @@ let printer = ref (fun formatter _ -> Format.pp_print_nothing formatter ())
let speclist =
[
- ( "-tree",
+ ( "--tree",
Arg.Unit
(fun () ->
printer :=
fun formater conf ->
Configuration.Graph_tree.pp formater (Configuration.Ast.tree conf)),
- "Print the depenncy tree between root contents" );
+ "Print the dependency tree between root contents" );
]
type t = (Configuration.Ast.setting, Configuration.Read_conf.error) result
diff --git a/test/parent.ml b/test/parent.ml
index 4a15bfa..a13afda 100644
--- a/test/parent.ml
+++ b/test/parent.ml
@@ -8,7 +8,7 @@ let parent = ref Model.Content.parent
let speclist =
[
- ( "-root",
+ ( "--root",
Arg.Unit
(fun () -> parent := fun content -> Some (Model.Content.root content)),
"Return the root element instead of the parent" );
diff --git a/test/splay_tree.ml b/test/splay_tree.ml
index 318fc96..acd2f2b 100644
--- a/test/splay_tree.ml
+++ b/test/splay_tree.ml
@@ -14,13 +14,13 @@ let tree : unit T.t ref = ref (T.empty ())
let speclist =
[
- ( "-add",
+ ( "--add",
Arg.Int (fun n -> tree := T.add n () !tree),
"Add an element in the tree" );
- ( "-del",
+ ( "--del",
Arg.Int (fun n -> tree := T.remove n !tree),
"Remove an element from the tree" );
- ( "-get",
+ ( "--get",
Arg.Int (fun n -> ignore @@ T.find n !tree),
"Get an element from the tree" );
]
diff --git a/test/tests.ml b/test/tests.ml
index 5e2bd59..9242495 100644
--- a/test/tests.ml
+++ b/test/tests.ml
@@ -15,7 +15,7 @@ let register : (module Intf.T) -> string * Arg.spec * string =
T.name |> String.lowercase_ascii |> Filename.remove_extension
|> Filename.basename
in
- ( "-" ^ name,
+ ( "--" ^ name,
Arg.Unit
(fun () ->
speclist := T.speclist;