Bug #33048
flow3.bat gives wrong feedback
Status: | Resolved | Start date: | 2012-01-08 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Core | |||
Target version: | TYPO3 Flow Base Distribution - 1.0.4 | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.2 |
Description
Hi,
this is just a very little issue, but your flow3.bat gives some wrong feedback.
If i callflow3.bat I currently get this feedback:
FLOW3 1.0.2 ("Development" context)
usage: ./flow3 <command identifier>
See '*./flow3* help' for a list of all available commands.
This is quite wrong.
The correct response should be:
FLOW3 1.0.2 ("Development" context)
usage: flow3.bat <command identifier>
See '*flow3.bat* help' for a list of all available commands.
Associated revisions
[BUGFIX] Make flow3.bat output usage texts matching Windows
When using flow3.bat on Windows the usage information would tell the
user to call "./flow3", which doesn't fit the Windows world.
Change-Id: Ia8561a7878b7dd9ba8a6f3bb926c9da10b46bd0c
Fixes: #33048
Releases: 1.0, 1.1
[BUGFIX] Make flow3.bat output usage texts matching Windows
When using flow3.bat on Windows the usage information would tell the
user to call "./flow3", which doesn't fit the Windows world.
Change-Id: Ibed3f966a1861d7275c76a79ec3dc83d68d2b1ea
Fixes: #33048
Releases: 1.0, 1.1
History
#1 Updated by Bastian Waidelich over 3 years ago
The correct response should be:
FLOW3 1.0.2 ("Development" context)
usage: flow3.bat <command identifier>
as *.bat files are executed by default, you can leave out the extension. So "flow3" <ENTER> works fine.
But you're right, the "./" should be trimmed off on Windows.
#2 Updated by Daniel Felix over 3 years ago
No sorry, your wrong.
You need to specify the .bat!
Windows couldn't handle the request of flow3 help
This has two reasons.
1. you have two files in the same folder. flow3.bat and flow3. So Windows would send the Request to the flow3 File not to the bat itself.
2. Windows Powershell throws a errormessage (in german):
PS C:\inetpub\vhosts\domain.com\httpdocs\Quickstart> flow3
Die Benennung "flow3" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Prog
ramms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederh
olen Sie den Vorgang.
Bei Zeile:1 Zeichen:6
+ flow3 <<<<
+ CategoryInfo : ObjectNotFound: (flow3:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
#3 Updated by Bastian Waidelich over 3 years ago
You need to specify the .bat!
leaving it out works for me in the default CMD and msysgit interface on Windows 7 and XP.
But, as we have to "localize" this anyways, it doesn't really matter.
#4 Updated by Daniel Felix over 3 years ago
Bastian Waidelich wrote:
You need to specify the .bat!
leaving it out works for me in the default CMD and msysgit interface on Windows 7 and XP.
But, as we have to "localize" this anyways, it doesn't really matter.
Maybe work on Windows 7 and XP, but not on Windows SERVER 2008 with Powershell. ;-)
But your right. It doesn't matter.
#5 Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9476
#6 Updated by Karsten Dambekalns over 3 years ago
- Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow
- Assigned To set to Karsten Dambekalns
#7 Updated by Karsten Dambekalns over 3 years ago
- Category set to Core
- Target version set to 1.0.4
- Has patch set to No
#8 Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9476
#9 Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9476
#10 Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/9582
#11 Updated by Karsten Dambekalns over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7e567e8d38e5a24f052a7da4fa7ae0fd657540e3.