From 6400180b2f245c3dd9a5bc0121d2c609451e7972 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Mon, 18 Jul 2016 15:05:19 -0700 Subject: [PATCH] Clean up the subcommand definition for the format command Fix the order of the definition to match other definitions, and fix punctuation in the arg_from_usage call. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index a440355cca5286316d83da7b43cb2ee79a4b4ed1..c5c6c6e1294435c0607adaf9afdcea76b58987ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1521,8 +1521,8 @@ fn main() { SubCommand::with_name("detach") .about("Stop working on any patch series"), SubCommand::with_name("format") - .arg_from_usage("--stdout 'Write patches to stdout rather than files.") - .about("Prepare patch series for email"), + .about("Prepare patch series for email") + .arg_from_usage("--stdout 'Write patches to stdout rather than files'"), SubCommand::with_name("log") .about("Show the history of the patch series") .arg_from_usage("-p, --patch 'Include a patch for each change committed to the series'"),