Skip to content

Commit

Permalink
refactor: change cli option name
Browse files Browse the repository at this point in the history
  • Loading branch information
bsach64 committed Dec 9, 2024
1 parent f93f5c2 commit f8ca5a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func ClientLoop(cmd *cobra.Command, args []string) {
continue
}

case "Add Directory to Sync":
case "Sync Directory":
err = watchAndUpload("./files", sshC, worker)
if err != nil {
log.Error("Watcher with error", "err", err)
Expand Down Expand Up @@ -272,8 +272,7 @@ func promptForAction() (string, error) {
Title("Choose an option:").
Options(
huh.NewOption("Upload File", "Upload File"),
huh.NewOption("List Directory", "List Directory"),
huh.NewOption("Add Directory to Sync", "Add Directory to Sync"),
huh.NewOption("Sync Directory", "Sync Directory"),
huh.NewOption("Exit", "Exit"),
).
Value(&selectedOption),
Expand Down

0 comments on commit f8ca5a7

Please sign in to comment.