fix long command names
authorChristian Weiske <cweiske@cweiske.de>
Wed, 12 Mar 2014 05:44:14 +0000 (06:44 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 12 Mar 2014 05:44:14 +0000 (06:44 +0100)
src/bdrem/UserInterface.php

index 2827415ca6c146f70a1348d21d8015fb32bdf2d8..2ba1cfb8329a215c746352fccee184d62ce2761e 100644 (file)
@@ -47,7 +47,7 @@ abstract class UserInterface
             'daysNext',
             array(
                 'short_name'  => '-n',
             'daysNext',
             array(
                 'short_name'  => '-n',
-                'long_name'   => '--days-next',
+                'long_name'   => '--next',
                 'description' => 'Show NUM days after date',
                 'help_name'   => 'NUM',
                 'action'      => 'StoreInt',
                 'description' => 'Show NUM days after date',
                 'help_name'   => 'NUM',
                 'action'      => 'StoreInt',
@@ -58,7 +58,7 @@ abstract class UserInterface
             'daysPrev',
             array(
                 'short_name'  => '-p',
             'daysPrev',
             array(
                 'short_name'  => '-p',
-                'long_name'   => '--previous',
+                'long_name'   => '--prev',
                 'description' => 'Show NUM days before date',
                 'help_name'   => 'NUM',
                 'action'      => 'StoreInt',
                 'description' => 'Show NUM days before date',
                 'help_name'   => 'NUM',
                 'action'      => 'StoreInt',