Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename -l/--only option to -l/--locate
  • Loading branch information
hinrik committed Jul 24, 2009
1 parent dbcc997 commit 4ca3522
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,3 +1,6 @@
0.15
- Rename -l/--only option to -l/--locate

0.14 Fri Jul 24 09:20:07 GMT 2009
- Remove Module::Install::AuthorRequires for now, it's not working right
- Make Win32::Console::ANSI optional
Expand Down
2 changes: 1 addition & 1 deletion lib/App/Grok.pm
Expand Up @@ -73,7 +73,7 @@ sub _get_options {
'F|file=s' => \$opt{file},
'h|help' => sub { pod2usage(1) },
'i|index' => \$opt{index},
'l|only' => \$opt{only},
'l|locate' => \$opt{locate},
'o|output=s' => \($opt{output} = $GOT_ANSI ? 'ansi' : 'text'),
'T|no-pager' => \$opt{no_pager},
'u|unformatted' => sub { $opt{output} = 'pod' },
Expand Down
2 changes: 1 addition & 1 deletion script/grok
Expand Up @@ -22,7 +22,7 @@ B<grok> <options> <target>
-F FILE, --file=FILE A file to read Pod from
-h, --help Print this help message
-i, --index Print index of things grok knows about
-l, --only Only print the path to the target file
-l, --locate Locate the target file
-o FORMAT, --output=FORMAT The output format, ansi/text/xhtml/pod
-T, --no-pager Send output to STDOUT without any pager
-u, --unformatted Print unformatted Pod output
Expand Down

0 comments on commit 4ca3522

Please sign in to comment.