From 184095cc02a47b19a1deeb48ee0c40648b06cf20 Mon Sep 17 00:00:00 2001 From: Ted Nyman Date: Sat, 28 Dec 2013 19:57:39 -0800 Subject: [PATCH] Clarify README for new options --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03b05605..49999b46 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,12 @@ project.language.name #=> "Ruby" project.languages #=> { "Ruby" => 0.98, "Shell" => 0.02 } ``` -These stats are also printed out by the `linguist` binary. This will also output the breakdown of files by language. You can try running `linguist` on the `lib/` directory in this repository itself: +These stats are also printed out by the `linguist` binary. You can pass +`--breakdown`` flag, and the binary will also output the breakdown of files by language. - $ bundle exec linguist lib/ +You can try running `linguist` on the `lib/` directory in this repository itself: + + $ bundle exec linguist lib/ --breakdown 100% Ruby Ruby: ["linguist/blob_helper.rb", "linguist/classifier.rb", "linguist/file_blob.rb", "linguist/generated.rb",