Thanks for your comments, attached is the new patch. Please review. Thanks Qiang -----Original Message----- From: Duncan Mac-Vicar P. [mailto:dmacvicar@suse.de] Sent: Monday, December 13, 2010 5:41 PM To: Michael Schroeder Cc: Zhang, Qiang Z; jkupec@suse.cz; zypp-devel@opensuse.org Subject: Re: [zypp-devel] [PATCH 2/2] Support searching file with full path On 12/10/2010 10:53 AM, Michael Schroeder wrote:
On Fri, Dec 10, 2010 at 01:06:13PM +0800, Zhang Qiang wrote:
This patch enable zypper searching file with full path, which is the function as 'yum provides'. [...] {"search-descriptions", no_argument, 0, 'd'}, + {"search-file", no_argument, 0, 'f'}, {"case-sensitive", no_argument, 0, 'C'},
Do we really need an extra option for this? If it starts with a '/' it's obviously a file.
Cheers, Michael.
Agreed, I don't see the need for an extra option -- Duncan Mac-Vicar P. - Novell(r) Making IT Work As One(tm) SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)