@@ -18,10 +18,10 @@ pub fn build_cli() -> App<'static, 'static> {
1818 )
1919 . setting ( AppSettings :: VersionlessSubcommands )
2020 . arg ( migration_dir_arg ( ) )
21- . subcommand ( SubCommand :: with_name ( "run" ) . about ( "Runs all pending migrations" ) )
21+ . subcommand ( SubCommand :: with_name ( "run" ) . about ( "Runs all pending migrations. " ) )
2222 . subcommand (
2323 SubCommand :: with_name ( "revert" )
24- . about ( "Reverts the specified migrations" )
24+ . about ( "Reverts the specified migrations. " )
2525 . arg (
2626 Arg :: with_name ( "REVERT_ALL" )
2727 . long ( "all" )
@@ -34,7 +34,7 @@ pub fn build_cli() -> App<'static, 'static> {
3434 Arg :: with_name ( "REVERT_NUMBER" )
3535 . long ( "number" )
3636 . short ( "n" )
37- . help ( "Reverts the last `n` migration files" )
37+ . help ( "Reverts the last `n` migration files. " )
3838 . long_help (
3939 "When this option is specified the last `n` migration files \
4040 will be reverted. By default revert the last one.",
@@ -70,7 +70,7 @@ pub fn build_cli() -> App<'static, 'static> {
7070 Arg :: with_name ( "REDO_NUMBER" )
7171 . long ( "number" )
7272 . short ( "n" )
73- . help ( "Redo the last `n` migration files" )
73+ . help ( "Redo the last `n` migration files. " )
7474 . long_help (
7575 "When this option is specified the last `n` migration files \
7676 will be reverted and re-runs. By default redo the last migration.",
@@ -95,11 +95,11 @@ pub fn build_cli() -> App<'static, 'static> {
9595 SubCommand :: with_name ( "generate" )
9696 . about (
9797 "Generate a new migration with the given name, and \
98- the current timestamp as the version",
98+ the current timestamp as the version. ",
9999 )
100100 . arg (
101101 Arg :: with_name ( "MIGRATION_NAME" )
102- . help ( "The name of the migration to create" )
102+ . help ( "The name of the migration to create. " )
103103 . required ( true ) ,
104104 )
105105 . arg (
@@ -177,47 +177,47 @@ pub fn build_cli() -> App<'static, 'static> {
177177 . index ( 1 )
178178 . takes_value ( true )
179179 . multiple ( true )
180- . help ( "Table names to filter (default only-tables if not empty)" ) ,
180+ . help ( "Table names to filter (default only-tables if not empty). " ) ,
181181 )
182182 . arg (
183183 Arg :: with_name ( "only-tables" )
184184 . short ( "o" )
185185 . long ( "only-tables" )
186- . help ( "Only include tables from table-name that matches regexp" )
186+ . help ( "Only include tables from table-name that matches regexp. " )
187187 . conflicts_with ( "except-tables" ) ,
188188 )
189189 . arg (
190190 Arg :: with_name ( "except-tables" )
191191 . short ( "e" )
192192 . long ( "except-tables" )
193- . help ( "Exclude tables from table-name that matches regex" )
193+ . help ( "Exclude tables from table-name that matches regex. " )
194194 . conflicts_with ( "only-tables" ) ,
195195 )
196196 . arg (
197197 Arg :: with_name ( "with-docs" )
198198 . long ( "with-docs" )
199- . help ( "Render documentation comments for tables and columns" ) ,
199+ . help ( "Render documentation comments for tables and columns. " ) ,
200200 )
201201 . arg (
202202 Arg :: with_name ( "column-sorting" )
203203 . long ( "column-sorting" )
204- . help ( "Sort order for table columns" )
204+ . help ( "Sort order for table columns. " )
205205 . takes_value ( true )
206206 . possible_values ( & [ "ordinal_position" , "name" ] ) ,
207207 )
208208 . arg (
209209 Arg :: with_name ( "patch-file" )
210210 . long ( "patch-file" )
211211 . takes_value ( true )
212- . help ( "A unified diff file to be applied to the final schema" ) ,
212+ . help ( "A unified diff file to be applied to the final schema. " ) ,
213213 )
214214 . arg (
215215 Arg :: with_name ( "import-types" )
216216 . long ( "import-types" )
217217 . takes_value ( true )
218218 . multiple ( true )
219219 . number_of_values ( 1 )
220- . help ( "A list of types to import for every table, separated by commas" ) ,
220+ . help ( "A list of types to import for every table, separated by commas. " ) ,
221221 ) ;
222222
223223 let config_arg = Arg :: with_name ( "CONFIG_FILE" )
@@ -233,7 +233,7 @@ pub fn build_cli() -> App<'static, 'static> {
233233
234234 let locked_schema_arg = Arg :: with_name ( "LOCKED_SCHEMA" )
235235 . long ( "locked-schema" )
236- . help ( "Require that the schema file is up to date" )
236+ . help ( "Require that the schema file is up to date. " )
237237 . long_help (
238238 "When `print_schema.file` is specified in your config file, this \
239239 flag will cause Diesel CLI to error if any command would result in \
0 commit comments