diff options
author | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-07-01 15:36:13 +0000 |
---|---|---|
committer | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-07-01 15:36:13 +0000 |
commit | dbe5ce95176fd764188c55520c735a5334cf709c (patch) | |
tree | 423471ada92b12a3bd94d77ce7a0dfa18741035a /src | |
parent | 8a67d9d90ea580bb984bb85511e3adc6ac1d5d4c (diff) | |
download | luarocks-dbe5ce95176fd764188c55520c735a5334cf709c.tar.gz luarocks-dbe5ce95176fd764188c55520c735a5334cf709c.tar.bz2 luarocks-dbe5ce95176fd764188c55520c735a5334cf709c.zip |
better error msg
git-svn-id: http://luarocks.org/svn/luarocks/trunk@35 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/search.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/search.lua b/src/luarocks/search.lua index 20aea970..06868810 100644 --- a/src/luarocks/search.lua +++ b/src/luarocks/search.lua | |||
@@ -350,7 +350,7 @@ function act_on_src_or_rockspec(action, name, version) | |||
350 | print_results(results) | 350 | print_results(results) |
351 | return nil, "Please narrow your query." | 351 | return nil, "Please narrow your query." |
352 | else | 352 | else |
353 | return nil, "Could not find a result named "..name.."." | 353 | return nil, "Could not find a result named "..name..(version and " "..version or "").."." |
354 | end | 354 | end |
355 | end | 355 | end |
356 | 356 | ||