Changeset 572

Show
Ignore:
Timestamp:
03/25/07 15:25:11 (2 years ago)
Author:
sacha
Message:

rearranged help.
exitting if no name is given

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/tools/create_certs.rb

    r504 r572  
    5353 
    5454if ARGV.size != 1 or ARGV[0] == '--help' then  
     55  puts "-----------------------------------------------------------------------------------------------------------" 
    5556  puts "Usage: create_certs.rb <Name>" 
     57  puts "-----------------------------------------------------------------------------------------------------------" 
    5658  puts "This tool creates a directory (all lowercase of name) with a new private key, selfsigned x509 certificate, " + 
    5759    "x509 certificate in XML, a private key without passphrase, a file with the passhprase in clear text" 
     60  puts "-----------------------------------------------------------------------------------------------------------" 
    5861  puts "Example: 'ruby create_certs.rb Coronation Encryption' results in:" 
    5962  puts "creates a new directory with the name 'coronation_encryption_cert' with the following content:" 
     
    6366  puts "coronation_encryption_cacert.pem                      -> the x509 certificate" 
    6467  puts "coronation_encryption_cacert.xml                      -> the x509 certificate in XML notation for ebXML CPA" 
     68  exit 
    6569end 
    6670