Changeset 36


Ignore:
Timestamp:
Feb 12, 2008, 2:21:21 PM (17 years ago)
Author:
g7moreau
Message:
  • Add command version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r35 r36  
    4444my %CMD_DB = (
    4545   help       => \&cmd_help,
     46   version    => \&cmd_version,
    4647   exportdb   => \&cmd_exportdb,
    4748   updatedb   => \&cmd_updatedb,
     
    501502   }
    502503
     504sub cmd_version {
     505
     506print <<END;
     507Klask - ports manager and finder for switch
     508Copyright (C) 2005-2008 Gabriel Moreau
     509
     510END
     511   print 'Version: $Ver$'."\n";
     512   print 'Date: $Date$'."\n";
     513   print 'Id: $Id$'."\n";
     514   }
     515
    503516sub cmd_search {
    504517   my @computer = @_;
     
    13041317=head1 VERSION
    13051318
    1306 0.4
     1319$Id$
    13071320
    13081321
Note: See TracChangeset for help on using the changeset viewer.