Changeset 913

Show
Ignore:
Timestamp:
12/19/07 19:59:35 (1 year ago)
Author:
mbr
Message:

added command line args display to --verbose mode

Files:

Legend:

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

    r910 r913  
    171171} 
    172172 
     173die "[*] Cannot run in both --quiet and --verbose modes simultaneously" 
     174    if $quiet and $verbose; 
     175 
    173176die "[*] Must also specify a GnuPG signing key with --gpg-signing-key or\n", 
    174177    "    use --gpg-default-key to use a default key (specified in\n", 
     
    225228    print "[+] Starting fwknop client ($print_mode mode)...\n" 
    226229        unless $quiet; 
     230} 
     231 
     232if ($verbose) { 
     233    print "[+] Command line: @args_cp\n"; 
    227234} 
    228235 
     
    359366 
    360367    unless ($quiet) { 
    361         print "\n[+] Building encrypted single-packet authorization (SPA) ", 
     368        print "\n[+] Building encrypted Single Packet Authorization (SPA) ", 
    362369            "message...\n"; 
    363370        print "[+] Packet fields:\n\n";