Changeset 207 for community


Ignore:
Timestamp:
09/16/10 08:45:10 (20 months ago)
Author:
eddriks
Message:

Deleting duplicate script, update errors for bad arguments.

Location:
community/eddriks
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • community/eddriks/script_autoadd_screens.rb

    r198 r207  
    129129        #error message 
    130130        puts "not enougth argument : \n host - user - passwd" 
    131          
    132         count=1 
    133         for arg in ARGV 
    134                 if arg == "" && count == 1 
    135                         puts "Please, you've to put the ip/hostname of your database for the 1st Argument" 
    136                 elsif arg == "" && count == 2 
    137                         puts "please, you've to put the user of your database for the 2nd argument" 
    138                 elsif arg == "" && count == 3 
    139                         puts "please, you've to put the password of your database for the 3rd argument" 
    140                 end 
    141                 count = count + 1 
    142         end      
    143131end 
    144132 
Note: See TracChangeset for help on using the changeset viewer.