Commit 54fbdf1e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm search_file: pass $quiet

parent 20b9537e
...@@ -509,7 +509,7 @@ check_option() ...@@ -509,7 +509,7 @@ check_option()
show_command_only=1 show_command_only=1
;; ;;
--quiet|--silent) # HELPOPT: quiet mode (do not print commands before exec) --quiet|--silent) # HELPOPT: quiet mode (do not print commands before exec)
quiet=1 quiet="--quiet"
;; ;;
--nodeps) # HELPOPT: skip dependency check (during install/simulate and so on) --nodeps) # HELPOPT: skip dependency check (during install/simulate and so on)
nodeps="--nodeps" nodeps="--nodeps"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
__alt_search_file_output() __alt_search_file_output()
{ {
# grep only on left part (filename), then revert order and grep with color # grep only on left part (filename), then revert order and grep with color
ercat $1 | grep -h -- ".*$2.*[[:space:]]" | sed -e "s|\(.*\)\t\(.*\)|\2: \1|g" $3 ercat $quiet $1 | grep -h -- ".*$2.*[[:space:]]" | sed -e "s|\(.*\)\t\(.*\)|\2: \1|g" $3
} }
__alt_local_content_search() __alt_local_content_search()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment