X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Froles%2Froles.ml;h=bcb66d86481d699042a0f2ff076c7ac0b887b825;hp=6d9620c8f633451fe3caffca93bf105161ea849c;hb=3be6630ba2a592488502b320e85e45b55a099580;hpb=cfccf434a57e10848d74d06674af4ec9cef0f0ca diff --git a/matita/matita/contribs/lambdadelta/bin/roles/roles.ml b/matita/matita/contribs/lambdadelta/bin/roles/roles.ml index 6d9620c8f..bcb66d864 100644 --- a/matita/matita/contribs/lambdadelta/bin/roles/roles.ml +++ b/matita/matita/contribs/lambdadelta/bin/roles/roles.ml @@ -22,13 +22,13 @@ let help_W = " Run as an LWS application" let help_X = " Reset all options to defaults" let help_a = " Add selected names to a role" let help_m = " Add roles relating matching names" -let help_o = " Add top objects for this stage" +let help_n = " Start a stage with this version" let help_p = " Print current status on standard output" let help_r = " Load current status" -let help_s = " Start a stage with this version" -let help_t = " Toggle the selection of this pointed entry" +let help_s = " Toggle the selection of this pointed entry" +let help_t = " Add top objects for this stage" let help_w = " Save current status" -let help = "Usage: roles [ -LWXamprw | -B | -C | -os | -t | ]*" +let help = "Usage: roles [ -LWXamprw | -B | -C | -nt | -s | ]*" let change_cwd s = EG.cwd := Filename.concat !EG.cwd s @@ -39,8 +39,8 @@ let add_tops s = let new_stage s = EE.new_stage (EU.version_of_string s) -let toggle_entry s = - EE.toggle_entry (EU.pointer_of_string s) +let select_entry s = + EE.select_entry (EU.pointer_of_string s) let process s = match Filename.extension s with @@ -56,11 +56,11 @@ let _main = try "-X", Arg.Unit EG.clear, help_X; "-a", Arg.Unit EE.add_role, help_a; "-m", Arg.Unit EE.add_matching, help_m; - "-o", Arg.String add_tops, help_o; + "-n", Arg.String new_stage, help_n; "-p", Arg.Unit EE.print_status, help_p; "-r", Arg.Unit EE.read_status, help_r; - "-s", Arg.String new_stage, help_s; - "-t", Arg.String toggle_entry, help_t; + "-s", Arg.String select_entry, help_s; + "-t", Arg.String add_tops, help_t; "-w", Arg.Unit EE.write_status, help_w; ] process help with ET.Error e -> Printf.eprintf "roles: %s\n%!" (EU.string_of_error e)