From e13f0e9a2570ef85aa40ad19ecba80c974c26637 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Sun, 5 Apr 2015 22:32:09 -0400 Subject: [PATCH] Changes rustdoc --passes help message The current help string ("space separated list") suggests that `--passes "pass1 pass2"` is expected; the correct usage is `--passes pass1 --passes pass2`. --- src/librustdoc/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index d1dcfc26008..bdee53cd009 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -154,8 +154,9 @@ pub fn opts() -> Vec { optmulti("", "cfg", "pass a --cfg to rustc", ""), optmulti("", "extern", "pass an --extern to rustc", "NAME=PATH"), optmulti("", "plugin-path", "directory to load plugins from", "DIR"), - optmulti("", "passes", "space separated list of passes to also run, a \ - value of `list` will print available passes", + optmulti("", "passes", "list of passes to also run, you might want \ + to pass it multiple times; a value of `list` \ + will print available passes", "PASSES"), optmulti("", "plugins", "space separated list of plugins to also load", "PLUGINS"),