From fb3b2d6c59244e148b7c9dfaad4cec0b9f039f0e Mon Sep 17 00:00:00 2001 From: Ikramullah Date: Thu, 8 Aug 2024 13:00:11 +0700 Subject: [PATCH] refactor(client): modify help command --- cmd/mdrop-client/main.go | 2 +- cmd/mdrop-client/send_command.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/mdrop-client/main.go b/cmd/mdrop-client/main.go index 1f9de71..8bf6fd8 100644 --- a/cmd/mdrop-client/main.go +++ b/cmd/mdrop-client/main.go @@ -14,7 +14,7 @@ Subcommand: get [options] subcommand Create instance for retriving file from sender - send [options] + send [options] [file2] [file...] subcommand Send file to reciever instance` diff --git a/cmd/mdrop-client/send_command.go b/cmd/mdrop-client/send_command.go index 42f4fc9..91dd3a3 100644 --- a/cmd/mdrop-client/send_command.go +++ b/cmd/mdrop-client/send_command.go @@ -26,7 +26,7 @@ func SendCommand(args []string) { file := flag.Args() if *help || len(file) == 0 { - fmt.Println("Command: mdrop send [options] ") + fmt.Println("Command: mdrop send [options] [file2] [file...]") flag.Usage() os.Exit(1) }