mirror of
https://github.com/nicksherron/bashhub-server.git
synced 2025-11-10 05:41:59 +08:00
cmd/transfer: progress bar flag bool was setup wrong
This commit is contained in:
parent
7e04081402
commit
5a15be867d
1 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ func init() {
|
|||
transferCmd.PersistentFlags().StringVar(&dstURL, "dst-url", "http://localhost:8080", "destination url")
|
||||
transferCmd.PersistentFlags().StringVar(&dstUser, "dst-user", "", "destination username")
|
||||
transferCmd.PersistentFlags().StringVar(&dstPass, "dst-pass", "", "destination password")
|
||||
transferCmd.PersistentFlags().BoolVarP(&progress, "progress", "p", false, "show progress bar")
|
||||
transferCmd.PersistentFlags().BoolVarP(&progress, "quiet", "q", false, "don't show progress bar")
|
||||
transferCmd.PersistentFlags().IntVarP(&workers, "workers", "w", 10, "max number of concurrent requests")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue