Browse Source

[main] added a missing new line for verbose output usage message

main
Unbewohnte 3 years ago
parent
commit
a8e973645a
  1. 1
      README.md
  2. 2
      src/main.go

1
README.md

@ -54,6 +54,7 @@ Now you have ftu installed !
- -a [ip_address|domain_name] address to connect to (cannot be used with -s) - -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) - -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) - -s [path_to_file|directory] to send it (cannot be used with -a)
- -vp [true|false] to turn on|off verbose output
- -v print version text - -v print version text
- -l print license - -l print license

2
src/main.go

@ -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("| -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("| -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("| -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") fmt.Printf("| -vp [true|false] to turn on|off verbose output\n")
fmt.Printf("| -l print license information\n") fmt.Printf("| -l print license information\n")
fmt.Printf("| -v print version information\n\n\n") fmt.Printf("| -v print version information\n\n\n")

Loading…
Cancel
Save