summaryrefslogtreecommitdiff
path: root/Tools/scripts/README.portsearch
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-06-22 17:49:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-06-22 17:49:46 +0000
commit9f70fa1685d7f7bc9c4779f9dffd5a9580294879 (patch)
tree2e3ceb8f5b6efec40b8c6f45a3e374f651835204 /Tools/scripts/README.portsearch
parent- Switch to USES=libtool, drop .la files (diff)
* Default to name search (-n) if no flags are specified.
* Add -e, to cat the pkg-descr for each port found. * Format with tabs instead of 4-spaces, as the latter made editing an absolute nightmare and isn't used by anything else. * Add -h to the option list, as it was missing. * Use the fields hash in the format instead of hardcoded indices.
Notes
Notes: svn path=/head/; revision=358816
Diffstat (limited to 'Tools/scripts/README.portsearch')
-rw-r--r--Tools/scripts/README.portsearch5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/scripts/README.portsearch b/Tools/scripts/README.portsearch
index e381b034c572..0e1c951af66c 100644
--- a/Tools/scripts/README.portsearch
+++ b/Tools/scripts/README.portsearch
@@ -21,7 +21,8 @@ DESCRIPTION
-h Prints a multi-line help message and exits
- -n name Search for name in the name field
+ -n name Search for name in the name field. This is the default
+ if no flags are specified
-p path Search for path in the path field
@@ -42,6 +43,8 @@ DESCRIPTION
-f file Use an index file with the name "file," instead of
/usr/ports/INDEX
+ -e Print the pkg-descr (long description) for each port found
+
All searches are case-insensitive
/usr/ports/INDEX is not updated everytime a change is made to the ports