summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-09moved everything into functions and structered things a little betterPhil Burton
2015-12-07Merge branch 'help-version-args' into 'master' Phil Burton
Add options to display the version and help message It's nice to have a version output from -v and --version so we can check that we're running the latest code in IRC. It's also nice to have a help option so people know how to use it, particularly since the #2 syntax for page numbers is new and undocumented. I also added the command name (eg blaup) to the config so that it shows the correct thing in the help output. I had to ommit the ! from the start as if I used that, it just printed 1 for $config["command"] (I guess this is php interpreting !blaup as a boolean?) Also added a new line to the end of the output for tidiness in a terminal, and cleaned up some unnecessary whitespace See merge request !2
2015-12-07switch the ifs for version and help so we use the same output method and add ↵Fbenas
a couple of config checks.
2015-12-07Clean up whitespaceJoe Robinson
2015-12-07Newline at end of configJoe Robinson
2015-12-07Move newline at end of output to the correct placeJoe Robinson
2015-12-07Add newline to end of outputJoe Robinson
2015-12-07Removed \! from config value to fix outputJoe Robinson
2015-12-07Make command in help output configurableJoe Robinson
2015-12-07Add more text to version outputJoe Robinson
2015-12-07Quote the \nJoe Robinson
2015-12-07More missing ;s (In my defense I don't have php locally so I can't run this ↵Joe Robinson
until I commit it...)
2015-12-07Missing (I am good at php yes)Joe Robinson
2015-12-07Missing ;Joe Robinson
2015-12-07Add help and version optionsJoe Robinson
2015-12-05Use a case insensitive searchLuke Bratch
2015-12-05Add new line to end of fileLuke Bratch
2015-12-05Use URL encoding on the outputLuke Bratch
2015-12-05Delete superfluous index.phpLuke Bratch
2015-12-05Add result number to outputFbenas
2015-12-05Removed multiline output.Fbenas
2015-12-05Allow use on other urls making password optionalFbenas
2015-12-05Add paginationFbenas
2015-12-05Add stdin for search term and allow multiple words to search forFbenas
2015-12-05Add a gitignore for live configFbenas
2015-12-05Add files to allow search of blaupload.\n WIP.Fbenas