Reviewed & tested by the community
Project:
Database Scripts
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2010 at 22:21 UTC
Updated:
29 Nov 2011 at 06:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
awjrichards commentedNote that in the above example, line 2080 should actually be 2077 from the dbscripts.module from latest HEAD
Comment #2
awjrichards commentedAttached is a patch resolving this issue. dbscripts_help() had no way of determining the config file. The patch adds the $options param to dbscripts_help and in each of the php executable files, passes in $_SERVER['argv'] as the $options param when the user requests 'help'.
Comment #3
hefox commentedOops! Redid some code and that probably slipped through the cracks, as I didn't use help.
Comment #4
stephan_allner commentedworks for me, thanks awjrichards
(should i mark this as tested by the community ?)
Comment #5
willvincent commentedWorks for me. Please commit it! :)
Comment #6
allanamiller commentedI would say that this change should be committed. I just started using dbscripts, and of course, the first thing that I wanted to do was to read the help. It wasn't exactly warm-and-fuzzy time when THAT didn't work.