diff --git a/src/parser/pascaligo/EvalOpt.ml b/src/parser/pascaligo/EvalOpt.ml
index 20d039603..386403635 100644
--- a/src/parser/pascaligo/EvalOpt.ml
+++ b/src/parser/pascaligo/EvalOpt.ml
@@ -1,8 +1,26 @@
-(* Parsing the command-line option for testing the LIGO lexer and
- parser *)
+(* Parsing the command-line options of PascaLIGO *)
+
+(* The type [command] denotes some possible behaviours of the
+ compiler. *)
+
+type command = Quiet | Copy | Units | Tokens
+
+(* The type [options] gathers the command-line options. *)
+
+type options = {
+ input : string option;
+ libs : string list;
+ verbose : Utils.String.Set.t;
+ offsets : bool;
+ mode : [`Byte | `Point];
+ cmd : command
+}
+
+(* Auxiliary functions *)
let printf = Printf.printf
let sprintf = Printf.sprintf
+let print = print_endline
let abort msg =
Utils.highlight (sprintf "Command-line error: %s\n" msg); exit 1
@@ -12,18 +30,18 @@ let abort msg =
let help () =
let file = Filename.basename Sys.argv.(0) in
printf "Usage: %s [