X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgit-codeowners;a=blobdiff_plain;f=lib%2FApp%2FCodeowners%2FOptions.pm;h=7b43b75cc5e5d0272af568bbaea4979cbfb4755c;hp=67dc3243c7a5c08645386fc8568aad336241c612;hb=3c7ed3d762399efb2d01121392f7115104095788;hpb=4c0f6ed552c529fc6a3a09ffb6de91d6344ac790 diff --git a/lib/App/Codeowners/Options.pm b/lib/App/Codeowners/Options.pm index 67dc324..7b43b75 100644 --- a/lib/App/Codeowners/Options.pm +++ b/lib/App/Codeowners/Options.pm @@ -30,8 +30,13 @@ sub command_options { 'patterns' => { 'owner=s' => '', }, + 'projects' => {}, 'show' => { - 'project!' => 1, + 'owner=s@' => [], + 'pattern=s@' => [], + 'project=s@' => [], + 'patterns!' => 0, + 'projects!' => undef, }, 'update' => {}, };