Parcourir la source

Improve documentation of add subcommand

Leo il y a 8 ans
Parent
commit
49aea71db8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/command_def.ml

+ 2 - 2
src/command_def.ml

@@ -196,8 +196,8 @@ let clean =
 let add =
 let add =
   basic
   basic
     ~summary:"Add the command given on stdin to the configuration file at a \
     ~summary:"Add the command given on stdin to the configuration file at a \
-              given position ([NUMBER]). If nothing is given, append it at the \
-              end."
+              given position ([NUMBER]). If nothing is given, or if it is out \
+              of bound, append commands at the end."
     Spec.(
     Spec.(
       empty
       empty
       +> shared_params
       +> shared_params