Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
* main_codemap.ml: align options by default
Browse files Browse the repository at this point in the history
  • Loading branch information
aryx committed Aug 5, 2015
1 parent a66aa9d commit 1d239d5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions main_codemap.ml
Expand Up @@ -583,7 +583,7 @@ let all_actions () =
extra_actions()@
[]

let options () = [
let options () = ([
(*s: options *)
"-screen_size", Arg.Set_int screen_size,
" <int> (1 = small, 2 = big)";
Expand All @@ -603,7 +603,6 @@ let options () = [
" <layer_file>";
"-with_layers", Arg.String (fun s -> layer_dir := Some s),
" <dir_with_layers>";

"-filter", Arg.String (fun s -> filter := List.assoc s filters;),
spf " filter certain files (available = %s)"
(filters +> List.map fst +> Common.join ", ");
Expand Down Expand Up @@ -647,7 +646,7 @@ let options () = [
exit 0;
),
" guess what";
]
]) |> Arg.align

(*****************************************************************************)
(* The main entry point *)
Expand Down Expand Up @@ -683,7 +682,7 @@ let main () =
(* --------------------------------------------------------- *)
(* empty entry *)
(* --------------------------------------------------------- *)
| [] -> Arg.usage (Arg.align (options())) usage_msg;
| [] -> Arg.usage (options()) usage_msg;
);
)

Expand Down

0 comments on commit 1d239d5

Please sign in to comment.