Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
apt-file
apt-file-find.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apt-file-find.patch of Package apt-file
Add 'find' as a synonym for 'search' --- apt-file +++ apt-file @@ -282,6 +282,7 @@ Action: update Fetch Contents files from apt-sources. search <pattern> Search files in packages + find <pattern> Synonym for 'search <pattern>' list|show <pattern> List files in packages purge Remove cache files EOF @@ -343,12 +344,13 @@ my $actions = { update => \&fetch_files, search => \&grep_file, + find => \&grep_file, list => \&grep_package, show => \&grep_package, purge => \&purge_cache, }; - $Conf->{help}=2 if $Conf->{action} =~ m/search|list/ && + $Conf->{help}=2 if $Conf->{action} =~ m/find|search|list/ && ! defined $Conf->{pattern}; $Conf->{help}=2 if ! defined $actions->{$Conf->{action}} && ! defined $Conf->{help};
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor