summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSBeans <info@kayakporn.com>2012-11-27 14:10:54 +0000
committerSBeans <info@kayakporn.com>2012-11-27 14:10:54 +0000
commit2ef98b6dc895007c71def6c9b41fae5e6844366e (patch)
tree58601786f8635f693a64137e469b58c5e5cb6db9
parent0d4d87186708b7580d674c11123f47dc6a9945b2 (diff)
Updated version information and added -l to help
-rw-r--r--blasource.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/blasource.php b/blasource.php
index 99a628f..5ae752b 100644
--- a/blasource.php
+++ b/blasource.php
@@ -6,8 +6,9 @@
// Version History
// 0.0.1 Created blasource.php
// 0.0.2 Added -l option for listing for sources.
+ // 0.0.3 Fixed -l option for listing for sources.
- $version = "BlaSource Version: 0.0.2";
+ $version = "BlaSource Version: 0.0.3";
// get the input
$stdin = read_stdin();
@@ -49,7 +50,7 @@
$i = sizeof($stdin);
break;
case "-h":
- $out = "-h for help, -v for version, -new <some-string-like-this> <someurl.html> e.g. !source -new gentoo-portage someurl.html. To view source:just enter a token <like-this-one> or <like this one> e.g. !source gentoo-portage or !source gentoo portage";
+ $out = "-h for help, -v for version, -new <some-string-like-this> <someurl.html> e.g. !source -new gentoo-portage someurl.html. To view source:just enter a token <like-this-one> or <like this one> e.g. !source gentoo-portage or !source gentoo portage. -l will list the first page (5 records). -l X will show page X.";
$i = sizeof($stdin);
break;
default: