Changeset 272

Show
Ignore:
Timestamp:
04/04/08 22:59:10 (8 months ago)
Author:
mbr
Message:

minor update to point the user at --help for command line usage errors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gpgdir/trunk/gpgdir

    r269 r272  
    243243 
    244244if ($decrypt_dir and $encrypt_dir) { 
    245     die "[*] You cannot encrypt and decrypt the same directory.\n"; 
    246     &usage_and_exit(); 
     245    die "[*] You cannot encrypt and decrypt the same directory, see --help\n"; 
    247246} 
    248247 
    249248unless ($decrypt_dir or $encrypt_dir or $test_and_exit) { 
    250     print "[*] Please specify -e <dir>, -d <dir>, or --test-mode\n"; 
    251     &usage_and_exit(); 
     249    print "[*] Please specify -e <dir>, -d <dir>, or --test-mode, see --help\n"; 
    252250} 
    253251