Changeset 7730 for trunk/library/PEAR/scripts/pearcmd.php
- Timestamp:
- 01/11/13 08:48:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/PEAR/scripts/pearcmd.php
r5146 r7730 337 337 } 338 338 $put .= 339 "Usage: $progname [ options] command [command-options] <parameters>\n".339 "Usage: $progname ['options'] command ['command-options'] <parameters>\n". 340 340 "Type \"$progname help options\" to list all options.\n". 341 341 "Type \"$progname help shortcuts\" to list all command shortcuts.\n". … … 385 385 } elseif ($help = PEAR_Command::getHelp($command)) { 386 386 if (is_string($help)) { 387 return "$progname $command [ options] $help\n";387 return "$progname $command ['options'] $help\n"; 388 388 } 389 389 … … 392 392 } 393 393 394 return "$progname $command [ options] $help[0]\n$help[1]";394 return "$progname $command ['options'] $help[0]\n$help[1]"; 395 395 } 396 396
Note: See TracChangeset
for help on using the changeset viewer.