Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

"pyrus help set" shows wrong position of path #99

Open
cweiske opened this issue Apr 4, 2012 · 1 comment
Open

"pyrus help set" shows wrong position of path #99

cweiske opened this issue Apr 4, 2012 · 1 comment
Labels
Milestone

Comments

@cweiske
Copy link
Contributor

cweiske commented Apr 4, 2012

$ pyrus pyrus-test help set
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /home/christian.weiske/pyrus-test

set (set): Set a configuration value
Usage:
  php pyrus.phar [options] set [/path/to/pyrus] [options] variable value

should be

php pyrus.phar [/path/to/pyrus] [options] set [options] 
@ghost ghost assigned till Nov 5, 2012
@cweiske
Copy link
Contributor Author

cweiske commented Nov 5, 2012

The problem lies in Pyrus/ScriptFrontend/Renderer.php#47. It calls \PEAR2\Console\CommandLine\Renderer_Default::name() which already adds [options] - only then [/path/to/pyrus] is added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants