Parcourir la source

Tested reset, working, so I update tips

Leo il y a 9 ans
Parent
commit
fe72a7dc37
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      src/default.ml
  2. 1 1
      src/messages.ml
  3. 1 1
      src/tmp_file.ml

+ 1 - 1
src/default.ml

@@ -53,7 +53,7 @@ let run ~rc cmd_number =
           |> function
             | None -> (* If no command was found, all has been launched *)
                 Messages.ok "All has been launched!";
-                Messages.tips "You can reset with '-r'";
+                Messages.tips "You can reset with 'reset' subcommand";
                 Lock.remove ()
             | Some cmd_to_exec -> Exec_cmd.execute cmd_to_exec;
       end

+ 1 - 1
src/messages.ml

@@ -179,7 +179,7 @@ let tips message =
 (* Reset printing, to avoid color problem on some terminal (Konsole), the  *)
 let reset () =
     match !already with
-    | true -> debug "Resetted colors";
+    | true -> debug "Reseted colors";
         Core_extended.Color_print.normal "" |> printf "%s\n"
     | false -> debug "Not resetted"; ()
 ;;

+ 1 - 1
src/tmp_file.ml

@@ -188,7 +188,7 @@ let reset_cmd ~rc num cmd =
       cmd_str
       i
     |> Messages.info;
-    sprintf  "Restore with 'oclaunch -r %i %i'" i cmd
+    sprintf  "Restore with 'oclaunch reset %i %i'" i cmd
     |> Messages.tips;
 
     (* Do the work, set the number *)