Changeset 14487 for trunk/base
- Timestamp:
- Oct 8, 2005, 10:24:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port/port.tcl
r14424 r14487 3 3 exec @TCLSH@ "$0" "$@" 4 4 # port.tcl 5 # $Id: port.tcl,v 1.11 2 2005/10/04 22:54:09jberry Exp $5 # $Id: port.tcl,v 1.113 2005/10/08 22:24:14 jberry Exp $ 6 6 # 7 7 # Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org> … … 131 131 proc print_usage args { 132 132 global argv0 133 set cmd [file tail $argv0] 133 134 set usage { [-vdqfonasbckt] [-D portdir] [-u porturl] action [actionflags] 134 [[portname|pseudo-portname|port-url] [version] [+-variant]... [option=value]...]... 135 [[portname|pseudo-portname|port-url] [version] [+-variant]... [option=value]...]... 136 } 137 138 puts "Usage: $cmd $usage" 139 puts "\"$cmd help\" or \"man 1 port\" for more information." 140 } 141 142 143 proc print_help args { 144 global argv0 145 146 set help { [-vdqfonasbckt] [-D portdir] [-u porturl] action [actionflags] 147 [[portname|pseudo-portname|port-url] [version] [+-variant]... [option=value]...]... 135 148 136 149 Valid actions are: … … 162 175 using expressions consisting of and, or, not, !, (, and ). 163 176 164 } 165 166 puts "Usage: [file tail $argv0]$usage" 167 } 177 For more information: 178 See man pages: port(1), ports.conf(5), portfile(7), portgroup(7), 179 porthier(7), portstyle(7). 180 181 } 182 183 puts "[file tail $argv0]$help" 184 } 185 186 168 187 169 188 # Produce error message and exit … … 1134 1153 1135 1154 help { 1136 print_ usage1155 print_help 1137 1156 } 1138 1157 … … 1730 1749 fatal_softcontinue "Unable to execute port: $result" 1731 1750 } 1732 1751 1733 1752 dportclose $workername 1734 1753
Note: See TracChangeset
for help on using the changeset viewer.