diff --git a/README.md b/README.md index 3d1eef5..3495170 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Now you have ftu installed ! - -a [ip_address|domain_name] address to connect to (cannot be used with -s) - -d [path_to_directory] where the files will be downloaded to (cannot be used with -s) - -s [path_to_file|directory] to send it (cannot be used with -a) -- -vp [true|false] to turn on|off verbose output +- -? [true|false] to turn on|off verbose output - -v print version text - -l print license diff --git a/src/main.go b/src/main.go index 1922a7c..146119d 100644 --- a/src/main.go +++ b/src/main.go @@ -43,7 +43,7 @@ var ( ADDRESS *string = flag.String("a", "", "Specifies an address to connect to") DOWNLOADS_DIR *string = flag.String("d", ".", "Downloads folder") SEND *string = flag.String("s", "", "Specify a file|directory to send") - VERBOSE *bool = flag.Bool("vp", false, "Turn on/off verbose output") + VERBOSE *bool = flag.Bool("?", false, "Turn on/off verbose output") PRINT_VERSION *bool = flag.Bool("v", false, "Print version information") PRINT_LICENSE *bool = flag.Bool("l", false, "Print license information") @@ -60,7 +60,7 @@ func init() { fmt.Printf("| -a [ip_address|domain_name] address to connect to (cannot be used with -s)\n") fmt.Printf("| -d [path_to_directory] where the files will be downloaded to (cannot be used with -s)\n") fmt.Printf("| -s [path_to_file|directory] to send it (cannot be used with -a)\n") - fmt.Printf("| -vp [true|false] to turn on|off verbose output\n") + fmt.Printf("| -? [true|false] to turn on|off verbose output\n") fmt.Printf("| -l print license information\n") fmt.Printf("| -v print version information\n\n\n") diff --git a/src/node/node.go b/src/node/node.go index 2211550..90988b2 100644 --- a/src/node/node.go +++ b/src/node/node.go @@ -380,6 +380,8 @@ func (node *Node) Start() { if node.verboseOutput { fmt.Printf("\n[File] Sent filepacket for \"%s\"", file.Name) } + + time.Sleep(time.Microsecond * 3) } filesInfoDonePacket := protocol.Packet{